Skip to content

pixelate_image_test passing on local machine but failing when making pull requests. #93

Answered by niosus
ariyapour asked this question in Homeworks Q&A
Discussion options

You must be logged in to vote

Hey @ariyapour it's a bit hard to say what exactly goes wrong here. Considering that there are issues that happen only on the CI and looking at the code of your test they might have something to do with how you read the image and the locale of your system.

The good news is that you probably don't need to use the drawer for this particular test, right? Why not create a simple test that loads the existing tiny test file and pixelates it to a selected size? Then you can compare the result to what you expect pixel-for-pixel without involving the drawer.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@ariyapour
Comment options

Answer selected by ariyapour
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
2 participants