Skip to content
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 our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add parallel to SphinxTestApp #8257

Merged
merged 2 commits into from Oct 1, 2020
Merged

Conversation

rscohn2
Copy link
Contributor

@rscohn2 rscohn2 commented Oct 1, 2020

Subject: allow parallel with SphinxTestApp

Feature or Bugfix

  • Feature

Purpose

  • Make it easier to test extensions with parallel build. I am trying to get all the extensions I use to support parallel read. Some are using SphinxTestApp, so supporting parallel makes it easier to add tests.

@@ -421,6 +421,12 @@ def test_html5_output(app, cached_etree_parse, fname, expect):
check_xpath(cached_etree_parse(app.outdir / fname), fname, *expect)


@pytest.mark.skipif(docutils.__version_info__ < (0, 13),
reason='docutils-0.13 or above is required')
Copy link
Member

Choose a reason for hiding this comment

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

Why are you marking this as docutils-0.13 or above only?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I copied the example below. I don't have any understanding of why it might be needed. Should I remove it?

Copy link
Member

Choose a reason for hiding this comment

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

Yes, please. The above and below test cases surely depends on docutils-0.13+. But this is not.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Removed unnecessary skipif

@tk0miya tk0miya added type:proposal a feature suggestion type:tests labels Oct 1, 2020
@tk0miya tk0miya added this to the 3.3.0 milestone Oct 1, 2020
@tk0miya tk0miya merged commit 483bf2c into sphinx-doc:3.x Oct 1, 2020
@tk0miya
Copy link
Member

tk0miya commented Oct 1, 2020

Thanks!

tk0miya added a commit that referenced this pull request Oct 1, 2020
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Jul 23, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
type:proposal a feature suggestion type:tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants