Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
stutiibm opened this issue Nov 13, 2023 · 0 comments

Comments

@stutiibm
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant