Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Fix test visualization tool for non-PNG files#27470

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
oscargus merged 2 commits intomatplotlib:mainfromQuLogic:fix-test-viz
Dec 8, 2023

Conversation

QuLogic
Copy link
Member

@QuLogicQuLogic commentedDec 8, 2023
edited
Loading

PR summary

For non-PNG files, our test diffing code creates a failed diff with a suffix of_{ext}-failed-diff.png, but the expected image has a suffix of-expected_{ext}.png. The test visualization was not correctly handling this difference by trimming filenames the same way for each case, resulting the expected/actual/diff images being split into non-existent test names.

Also, make the resulting file HTML5 compliant.

PR checklist

story645 reacted with eyes emoji
For non-PNG files, our test diffing code creates a failed diff with asuffix of `_{ext}-failed-diff.png`, but the expected image has a suffixof `-expected_{ext}.png`. The test visualization was not correctlyhandling this difference.
@QuLogicQuLogic added this to thev3.9.0 milestoneDec 8, 2023
@story645
Copy link
Member

uh how do we see these diffs?

@QuLogic
Copy link
MemberAuthor

You have to runtools/visualize_tests.py after running tests and having aresult_images directory.

@story645
Copy link
Member

story645 commentedDec 8, 2023
edited
Loading

Thanks#27471 😄

@oscargusoscargus merged commit8fa89d6 intomatplotlib:mainDec 8, 2023
@QuLogicQuLogic deleted the fix-test-viz branchDecember 8, 2023 22:27
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@story645story645story645 approved these changes

Assignees
No one assigned
Projects
None yet
Milestone
v3.9.0
Development

Successfully merging this pull request may close these issues.

3 participants
@QuLogic@story645@oscargus

[8]ページ先頭

©2009-2025 Movatter.jp