14
0
forked from pool/python-pilkit
Files
python-pilkit/pil-fix-test.patch
Tomáš Chvátal 99aec33aaf - Add patch to fix tests with new PIL (due to ordering there were
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
2019-01-18 10:17:21 +00:00

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')