These are chat archives for astropy/astropy

11th
Dec 2016
Harshit Patni
@patniharshit
Dec 11 2016 10:35
Hi, new here. When I run tests in development mode then I get this " 1 failed, 11628 passed, 277 skipped, 46 xfailed, 3 xpassed, 2 pytest-warnings in 203.21 seconds". Can someone tell me why the test is failing ?
matrixbot
@matrixbot
Dec 11 2016 10:45
Cadair What test is falling? Can you provide the traceback?
Harshit Patni
@patniharshit
Dec 11 2016 10:48
Sorry thats not readable, I will screenshot it.
alt
Zé Vinícius
@mirca
Dec 11 2016 15:23
@patniharshit I can acknowledge the same error here with pil 1.1.7.
Zé Vinícius
@mirca
Dec 11 2016 20:34
Hi @patniharshit, it looks like the Image class from pil_1.1.7 does not provide any support for context manager. However, if you install PIL from pillow (https://github.com/python-pillow/Pillow), then tests pass cleanly because the context manager was added here https://github.com/python-pillow/Pillow/pull/551/files