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
Add unit test: image.load_basic() #1777
Comments
I'll work on this one if that's alright |
Hello, can I try to do this ? |
Sure, it's been a few months. There is some discussion of the function in another issue recently that might be of interest: |
May I work on this and ask a couple questions? It is ok to recycle code from other tests? How many filetypes should be tested? |
I believe So you know where we got to and what was missing from that go around. Worth looking at the underlying C code as well: Lines 83 to 128 in 4306f7a
|
This function needs a unit test.
Guide to how to contribute to an open source project on GitHub.
Draft guide on how to write a unit test for pygame
Test stub: https://github.com/pygame/pygame/blob/master/test/image_test.py#L541-L549
Docs: None.
Code to be tested: https://github.com/pygame/pygame/blob/master/src_c/image.c#L67-L112
The text was updated successfully, but these errors were encountered: