forked from pool/python-pilkit
2 png returns and randomly on py2 it could return apng instead of just png: * pil-fix-test.patch OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/python-pilkit?expand=0&rev=6
14 lines
415 B
Diff
14 lines
415 B
Diff
Index: pilkit-2.0/tests/test_utils.py
|
|
===================================================================
|
|
--- pilkit-2.0.orig/tests/test_utils.py
|
|
+++ pilkit-2.0/tests/test_utils.py
|
|
@@ -16,7 +16,7 @@ def test_extension_to_format():
|
|
|
|
|
|
def test_format_to_extension_no_init():
|
|
- eq_(format_to_extension('PNG'), '.png')
|
|
+ eq_(format_to_extension('GIF'), '.gif')
|
|
eq_(format_to_extension('ICO'), '.ico')
|
|
|
|
|