shibukawa / imagesize_py

MIT License
222 stars 43 forks source link

FAILED test/test_get_filelike.py::test_get_filelike - assert (-1, -1) == (1240, 826) #63

Open stutiibm opened 10 months ago

stutiibm commented 10 months ago

Facing below test failure.

E assert (-1, -1) == (1240, 826) E At index 0 diff: -1 != 1240 E Use -v to get more diff

test/test_get_filelike.py:35: AssertionError ====================short test summary info =============================================== FAILED test/test_get_filelike.py::test_get_filelike - assert (-1, -1) == (1240, 826) =================1 failed, 44 passed in 1.75s =================================================

This test try to get image size and assert it with (1240, 826). But the image link provided in code "https://github.com/shibukawa/imagesize_py/blob/master/test/test_get_filelike.py#L26" does not exist. Because of which image size returns (-1,-1) and assertion fails.