Skip to content

MNT Change mark and fixture names for adding files#1365

Merged
lucyleeow merged 4 commits intosphinx-gallery:masterfrom
lucyleeow:pytest_mark_name
Aug 3, 2024
Merged

MNT Change mark and fixture names for adding files#1365
lucyleeow merged 4 commits intosphinx-gallery:masterfrom
lucyleeow:pytest_mark_name

Conversation

@lucyleeow
Copy link
Copy Markdown
Contributor

See: #1360 (comment)

conf_file fixture and mark were name the same which makes it confusing.

to do if you have tweaked warning handling in your doc build
to treat warnings as errors, e.g., with a line like
``warnings.filterwarnings("error")``. Note that this
to treat warnings as errors. Note that this
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Please revert, this filterwarnings("error") is really the relevant hint that projects like matplotlib and mne would have likely noticed.

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Ah I did not understand what this filter was doing. Let me update the doc in a new PR and I'll revert here

@lucyleeow lucyleeow enabled auto-merge (squash) August 3, 2024 00:37
@lucyleeow lucyleeow merged commit e7eb5ec into sphinx-gallery:master Aug 3, 2024
@lucyleeow lucyleeow deleted the pytest_mark_name branch August 3, 2024 00:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants