-
-
Notifications
You must be signed in to change notification settings - Fork 11
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Replaces sphinx-testing with sphinx.testing
- Loading branch information
Showing
2 changed files
with
20 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,17 @@ | ||
import pytest | ||
from sphinx.testing.path import path | ||
|
||
|
||
try: | ||
import pytest_doctestplus.plugin | ||
pytest_doctestplus | ||
except ImportError: | ||
raise ImportError("Install pytest-doctestplus to run the tests") | ||
|
||
|
||
pytest_plugins = 'sphinx.testing.fixtures' | ||
|
||
|
||
@pytest.fixture(scope='session') | ||
def rootdir(): | ||
return path(__file__).parent.abspath() / 'tests/test-build' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters