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

TST: Remove superfluous chdir from tests#27985

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
timhoffm merged 1 commit intomatplotlib:mainfromQuLogic:remove-test-chdir
Mar 28, 2024

Conversation

QuLogic
Copy link
Member

PR summary

These tests don't chdir back to the original directory on exit, so anything using the current directory would be in the temporary directory of this test.

Most notably, any image comparison results would be dumped in that temporary directory instead of the usualresult_images in the current directory.

I noticed this while debugging#27723, as the failing test images were not in the artifacts, and logs showed them saved in a temporary directory:https://github.com/matplotlib/matplotlib/actions/runs/8458560380/job/23173084420#step:13:183

PR checklist

These tests don't chdir back to the original directory on exit, soanything using the current directory would be in the temporary directoryof this test.Most notably, any image comparison results would be dumped in thattemporary directory instead of the usual `result_images` in the currentdirectory.
@QuLogicQuLogic added this to thev3.8.4 milestoneMar 28, 2024
@timhoffmtimhoffm merged commit0afc5d6 intomatplotlib:mainMar 28, 2024
meeseeksmachine pushed a commit to meeseeksmachine/matplotlib that referenced this pull requestMar 28, 2024
@QuLogicQuLogic deleted the remove-test-chdir branchMarch 28, 2024 06:20
@ksundenksunden mentioned this pull requestApr 4, 2024
5 tasks
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ksundenksundenksunden approved these changes

@timhoffmtimhoffmtimhoffm approved these changes

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

Successfully merging this pull request may close these issues.

3 participants
@QuLogic@ksunden@timhoffm

[8]ページ先頭

©2009-2025 Movatter.jp