summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_imghdr.py
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2014-05-25 08:45:37 (GMT)
committerSerhiy Storchaka <storchaka@gmail.com>2014-05-25 08:45:37 (GMT)
commit2f8dca735e9e30aab6cea2270875021b3098bd2a (patch)
tree74cf9e463b935a6d961cf5d7948d293221fb4454 /Lib/test/test_imghdr.py
parente84d26c61b826792f62d49cda64f1f8c76dcf55c (diff)
downloadcpython-2f8dca735e9e30aab6cea2270875021b3098bd2a.zip
cpython-2f8dca735e9e30aab6cea2270875021b3098bd2a.tar.gz
cpython-2f8dca735e9e30aab6cea2270875021b3098bd2a.tar.bz2
Issue #20197: Added support for the WebP image type in the imghdr module.
Patch by Fabrice Aneche and Claudiu Popa.
Diffstat (limited to 'Lib/test/test_imghdr.py')
-rw-r--r--Lib/test/test_imghdr.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_imghdr.py b/Lib/test/test_imghdr.py
index 0ad4343..e2a1aca 100644
--- a/Lib/test/test_imghdr.py
+++ b/Lib/test/test_imghdr.py
@@ -16,7 +16,8 @@ TEST_FILES = (
('python.ras', 'rast'),
('python.sgi', 'rgb'),
('python.tiff', 'tiff'),
- ('python.xbm', 'xbm')
+ ('python.xbm', 'xbm'),
+ ('python.webp', 'webp'),
)
class UnseekableIO(io.FileIO):