Run test suite on Windows.
Tests pass.
Tests fail and quit.
--------------------------------------------------------------------
Pillow 5.2.0 TEST SUMMARY
--------------------------------------------------------------------
Python modules loaded from X:\Python27-x64\lib\site-packages\PIL
Binary modules loaded from X:\Python27-x64\lib\site-packages\PIL
--------------------------------------------------------------------
--- PIL CORE support ok
--- TKINTER support ok
--- FREETYPE2 support ok
--- LITTLECMS2 support ok
--- WEBP support ok
--- WEBP Transparency support ok
--- WEBPMUX support ok
--- WEBP Animation support ok
--- JPEG support ok
--- OPENJPEG (JPEG2000) support ok
--- ZLIB (PNG/ZIP) support ok
--- LIBTIFF support ok
*** RAQM (Bidirectional Text) support not installed
--------------------------------------------------------------------
Running selftest:
--- 57 tests passed.
============================= test session starts =============================
platform win32 -- Python 2.7.15, pytest-3.6.2, py-1.5.4, pluggy-0.6.0 -- X:\Python27-x64\python.exe
cachedir: .pytest_cache
rootdir: D:\Build\Pillow\Pillow-5.2.0, inifile: setup.cfg
plugins: xdist-1.22.2, timeout-1.2.0, pep8-1.0.6, forked-0.2, faulthandler-1.5.0, cov-2.5.1, hypothesis-3.57.0, celery-4.1.1, backports.unittest-mock-1.3
collected 2356 items
<snip>
tests/test_file_wmf.py::TestFileWmf::test_load_raw <- Tests\test_file_wmf.py FAILED [ 73%]
================================== FAILURES ===================================
__________________________ TestFileWmf.test_load_raw __________________________
self = <test_file_wmf.TestFileWmf testMethod=test_load_raw>
def test_load_raw(self):
# Test basic EMF open and rendering
im = Image.open('Tests/images/drawing.emf')
if hasattr(Image.core, "drawwmf"):
# Currently, support for WMF/EMF is Windows-only
> im.load()
Tests\test_file_wmf.py:15:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
self = <PIL.WmfImagePlugin.WmfStubImageFile image mode=RGB size=1625x1625 at 0xF872320>
def load(self):
loader = self._load()
if loader is None:
> raise IOError("cannot find loader for this %s file" % self.format)
E IOError: cannot find loader for this WMF file
X:\Python27-x64\lib\site-packages\PIL\ImageFile.py:306: IOError
============= 1 failed, 1642 passed, 82 skipped in 50.83 seconds ==============
From @cgohlke in #3154 (comment) and #3154 (comment).
What did you do?
Run test suite on Windows.
What did you expect to happen?
Tests pass.
What actually happened?
Tests fail and quit.
What versions of Pillow and Python are you using?
Pillow 5.2.0
Python 2.7.15
Notes
@cgohlke can't reproduce this outside the tests, and AppVeyor isn't failing.