-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
test_borders_table_collapse and assert_different_renderings seem flaky #2305
Comments
Hi, Thanks for the report, I don’t know how you caught this! Interested in providing a pull request? |
I'm writing a port of WeasyPrint for the Go programming language. Thanks by the way for your work, it has been very interesting to dig into the depths of HTML rendering ! I can send a PR, not sure when however |
Let me do this for you 😄 Thanks again for the report! |
Thank you ;) On est jamais mieux servi que par soi-même 😅 |
Hi,
I think there is currently two issues regarding
test_borders_table_collapse
:groove
andoutset
styles render the same (as well as theinset
/ridge
pair), so that the test should not ask for different renderingsassert_different_renderings
seems broken : at tests/draw/init.py line 85, the pixels comparisonpixels_1 == pixels_2
seems to always beFalse
, since the variables are compared by reference, not by actual pixel content. A simple fix should be to change the comparison tolist(pixels_1) == list(pixels_2)
From what I understand, no change is required to the library, only to the tests.
The text was updated successfully, but these errors were encountered: