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

Address deprecation warnings in tests #81

Open
Mohamed-Waiel-Shikfa opened this issue Jul 11, 2024 · 1 comment
Open

Address deprecation warnings in tests #81

Mohamed-Waiel-Shikfa opened this issue Jul 11, 2024 · 1 comment

Comments

@Mohamed-Waiel-Shikfa
Copy link
Contributor

Mohamed-Waiel-Shikfa commented Jul 11, 2024

It would be nice to address the following deprecation warnings in tests:

C:\projects\cpython-cmu-graphics-0l7rb\tests\test_image_gen.py:49: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use import imageio.v2 as imageio or call imageio.v2.imread directly.
image_1_data = imageio.imread(path_1)
C:\projects\cpython-cmu-graphics-0l7rb\tests\test_image_gen.py:54: DeprecationWarning: Starting with ImageIO v3 the behavior of this function will switch to that of iio.v3.imread. To keep the current behavior (and make this warning disappear) use import imageio.v2 as imageio or call imageio.v2.imread directly.
image_2_data = imageio.imread(path_2)
Command exited with code -1

Not extremely important but it's one of those small quality of life thing.
I am not sure if we want the current behavior or the other one, maybe one of the main maintainers could fix this.

@schmave
Copy link
Member

schmave commented Jul 14, 2024

Agreed, this would be nice to fix!

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

2 participants