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

Move test data into a single subdirectory#30061

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:test-data-dir
May 21, 2025

Conversation

QuLogic
Copy link
Member

@QuLogicQuLogic commentedMay 17, 2025
edited
Loading

PR summary

Consolidating these files make it easier to remove or restore them without having to track each one individually.

The main reason for this is#29093, wherein we canrestore the test data (to the temporary testing environment) more easily if it's a single subdirectory.

PR checklist

Copy link
Member

@dstansbydstansby left a comment

Choose a reason for hiding this comment

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

Looks good to me - I left a copule of comments/suggestions for minor improvement, but don't think they're blockers.

@@ -33,15 +33,15 @@ def build_sphinx_html(source_dir, doctree_dir, html_dir, extra_args=None):


def test_tinypages(tmp_path):
shutil.copytree(Path(__file__).parent / 'tinypages', tmp_path,
shutil.copytree(Path(__file__).parent / 'data/tinypages', tmp_path,
Copy link
Member

Choose a reason for hiding this comment

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

While all these lines are being changed, it might be worth adding "tinypages_data_path = Path(file).parent / "data" / "tinypages"` variable to the file and re-using it?

Copy link
MemberAuthor

Choose a reason for hiding this comment

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

Sure, done.

Consolidating these files make it easier to remove or restore themwithout having to track each one individually.
@timhoffmtimhoffm merged commit903d537 intomatplotlib:mainMay 21, 2025
40 checks passed
@timhoffmtimhoffm added this to thev3.11.0 milestoneMay 21, 2025
@QuLogicQuLogic deleted the test-data-dir branchMay 21, 2025 06:50
@QuLogicQuLogic mentioned this pull requestMay 21, 2025
1 task
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@timhoffmtimhoffmtimhoffm approved these changes

@dstansbydstansbydstansby approved these changes

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

Successfully merging this pull request may close these issues.

3 participants
@QuLogic@timhoffm@dstansby

[8]ページ先頭

©2009-2025 Movatter.jp