Skip to content

Robustify bokehjs' SVG unit tests#13843

Merged
mattpap merged 1 commit intobranch-3.5from
mattpap/robustify_bokehjs_svg_tests
Apr 28, 2024
Merged

Robustify bokehjs' SVG unit tests#13843
mattpap merged 1 commit intobranch-3.5from
mattpap/robustify_bokehjs_svg_tests

Conversation

@mattpap
Copy link
Copy Markdown
Contributor

@mattpap mattpap commented Apr 27, 2024

Chromium produces varying binary PNGs in different versions and on different platforms, so there's no point in comparing such outputs. If we actually rely on verifying generated images, then this should be done in integration tests, where such differences can be accommodated for.

Copy link
Copy Markdown
Member

@bryevdv bryevdv left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think it is fine to assume that if images are generated by the browser, that they are correct, or at least that testing them is not our responsibility. In which case really all we need to do is make sure that our usage does actually generate images as is now done.

@mattpap mattpap merged commit 2c551ef into branch-3.5 Apr 28, 2024
@mattpap mattpap deleted the mattpap/robustify_bokehjs_svg_tests branch April 28, 2024 16:32
mattpap added a commit that referenced this pull request Jun 10, 2024
@mattpap mattpap mentioned this pull request Jun 10, 2024
11 tasks
@mattpap mattpap modified the milestones: 3.5, 3.4.2 Jun 10, 2024
mattpap added a commit that referenced this pull request Jun 10, 2024
mattpap added a commit that referenced this pull request Jun 11, 2024
Chiemezuo pushed a commit to Chiemezuo/bokeh that referenced this pull request Aug 27, 2024
@github-actions
Copy link
Copy Markdown

This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Oct 25, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants