New submission from Karthikeyan Singaravelan <tir.kar...@gmail.com>:

imghdr module has a cli that can display the image type for a given filename 
and also recurse through directories. I would like to propose following changes 
:

* Add tests for the imghdr cli.
* The cli uses hardcoded '/' separator in the end for directories this is a 
minor issue with windows where the separators are \ and the last separator is 
displayed with / like c:\Foo\Bar\Spam/ . Using os.sep can be a better option 
here.

I have a PR that I will add shortly for review.

----------
components: Tests
messages: 359919
nosy: xtreak
priority: normal
severity: normal
status: open
title: Add test for imghdr cli
type: enhancement
versions: Python 3.7, Python 3.8, Python 3.9

_______________________________________
Python tracker <rep...@bugs.python.org>
<https://bugs.python.org/issue39323>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to