You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Sep 13, 2021. It is now read-only.
I tried the macOS oiio 2.0.4 wheel (which by the way is half the size of the Linux/Windows equivalent wheel) on my laptop and attempted to load a jpeg file instead of the EXR file in our current test:
$ pytest
=============================================================== test session starts ================================================================
platform darwin -- Python 3.7.2, pytest-4.2.0, py-1.7.0, pluggy-0.8.1
rootdir: /Users/fredrik/code/repos/oiio-python/tests, inifile:
collected 1 item
test_imagedimensions.py F [100%]
===================================================================== FAILURES =====================================================================
___________________________________________________________________ test_answer ____________________________________________________________________
def test_answer():
"""Verify image dimensions."""
image_filepath = os.path.join(
os.path.dirname(__file__), "img", "test.png"
)
img_width, img_height = image_dimensions(image_filepath)
> assert img_width == 1024
E assert 0 == 1024
test_imagedimensions.py:35: AssertionError
--------------------------------------------------------------- Captured stderr call ---------------------------------------------------------------
libpng warning: Application built with libpng-1.4.12 but running with 1.6.36
============================================================= 1 failed in 0.25 seconds =============================================================
I tried the macOS oiio 2.0.4 wheel (which by the way is half the size of the Linux/Windows equivalent wheel) on my laptop and attempted to load a jpeg file instead of the EXR file in our current test: