summaryrefslogtreecommitdiff
path: root/sphinx/testing/fixtures.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix pytest style issuesAdam Turner2023-02-181-2/+2
|
* Prefer ``@pytest.fixture()``Adam Turner2023-02-181-6/+6
|
* Run pyupgrade (#11070)Adam Turner2023-01-021-2/+2
|
* Use PEP 604 typesAdam Turner2023-01-011-2/+2
|
* Use PEP 595 typesAdam Turner2023-01-011-9/+9
|
* Insert ``from __future__ import annotations``Adam Turner2023-01-011-0/+2
|
* Run the ``pyupgrade`` toolAdam Turner2022-10-171-2/+1
|
* set up mypy for incremental adoption of 'strict optional'daniel.eades2022-07-261-2/+2
|
* RefactorAdam Turner2022-05-021-7/+5
|
* Remove always-false branchesAdam Turner2022-05-021-8/+2
|
* Collapse single line docstringsAdam Turner2022-02-201-2/+1
|
* Remove copyright and licence fieldsAdam Turner2022-02-201-3/+0
|
* Fix module docstring indentationAdam Turner2022-02-201-2/+2
|
* Fix module docstring first lineAdam Turner2022-02-201-2/+1
|
* Remove module titles in docstringsAdam Turner2022-02-191-3/+0
|
* A happy new year!Takeshi KOMIYA2022-01-011-1/+1
|
* Address flake8 errors in whitespace lintingLouis Maddox2021-07-231-1/+1
|
* Improve sphinx.testing.fixtures docstringsLouis Maddox2021-07-181-12/+18
|
* refactor: Use PEP-526 based variable annotationTakeshi KOMIYA2021-04-081-3/+3
|
* Merge branch '3.x'Takeshi KOMIYA2021-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2021-01-011-1/+1
| | | | | | | | | | | | | | .. note:: $ find sphinx tests LICENSE doc/conf.py -type f -exec sed -i '' -e 's/2007\-20../2007-2021/' {} \; $ git co sphinx/locale/**/*.js sphinx/templates/epub3/mimetype
* | Merge branch '3.x'Takeshi KOMIYA2020-12-291-0/+12
|\ \ | |/
| * testing: Add rollback_sysmodules fixture to unload modules after testsTakeshi KOMIYA2020-12-291-0/+12
| |
* | Merge branch '3.x'Takeshi KOMIYA2020-11-121-1/+0
|\ \ | |/
| * Sort imports with isortFrançois Freitag2020-11-111-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | Keep imports alphabetically sorted and their order homogeneous across Python source files. The isort project has more feature and is more active than the flake8-import-order plugin. Most issues caught were simply import ordering from the same module. Where imports were purposefully placed out of order, tag with isort:skip.
* | Merge branch '3.x' into masterTakeshi KOMIYA2020-10-281-0/+15
|\ \ | |/
| * change markers list name to DEFAULT_ENABLED_MARKERSoleg.hoefling2020-10-251-2/+2
| | | | | | | | Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
| * rename public markers to default markersoleg.hoefling2020-10-251-2/+2
| | | | | | | | Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
| * more meaningful name for the public markers listoleg.hoefling2020-10-251-2/+2
| | | | | | | | Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
| * move registration of public markers to sphinx.testing.fixturesoleg.hoefling2020-10-251-0/+15
| | | | | | | | Signed-off-by: oleg.hoefling <oleg.hoefling@gmail.com>
* | Merge branch '3.x'Takeshi KOMIYA2020-08-011-1/+1
|\ \ | |/
| * Fix typoJoachim Jablon2020-07-261-1/+1
| |
* | Remove deprecated features marked as RemovedInSphinx40WarningTakeshi KOMIYA2020-04-291-5/+1
| |
* | Use typing.NamedTuple instead of collections.namedtuple as possibleTakeshi KOMIYA2020-03-071-1/+0
|/
* refactor: Update type annotations in sphinx.testing.*Takeshi KOMIYA2020-02-231-39/+42
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Migrate to py3 style type annotation: sphinx.testing.fixturesTakeshi KOMIYA2019-07-061-9/+4
|
* Stop to use $SPHINX_TEST_TEMPDIR envvarTakeshi KOMIYA2019-01-131-3/+6
| | | | | | | | At once, we added $SPHINX_TEST_TEMPDIR to keep intermediate files of testing to investigate the failures. At present, we've used pytest as a test runner. And it keeps temporary directories of last 3 testings. So this starts to use it instead of $SPHINX_TEST_TEMPDIR. https://docs.pytest.org/en/latest/tmpdir.html#the-default-base-temporary-directory
* Use subprocess.run() instead of Popen()Takeshi KOMIYA2019-01-131-4/+2
| | | | | | Since python3.5, subprocess.run() has been introduced. It works a wrapper of Popen, and it looks much simple and better. This uses it instead of Popen to make our code simple.
* Merge branch '1.8'Takeshi KOMIYA2019-01-021-1/+1
|\
| * A happy new year!Takeshi KOMIYA2019-01-021-1/+1
| |
* | Remove unnecessary encoding cookie from Python source filesJon Dufresne2018-12-161-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | In Python 3, the default encoding of source files is utf-8. The encoding cookie is now unnecessary and redundant so remove it. For more details, see the docs: https://docs.python.org/3/howto/unicode.html#the-string-type > The default encoding for Python source code is UTF-8, so you can > simply include a Unicode character in a string literal ... Includes a fix for the flake8 header checks to stop expecting an encoding cookie.
* | Remove print_function featureTakeshi KOMIYA2018-12-151-1/+0
| |
* | refactor: Replace six.StringIO by io.StringIOTakeshi KOMIYA2018-12-151-1/+1
| |
* | Replace six.string_types with native strJon Dufresne2018-11-211-3/+2
| |
* | Remove unnecessary object from class definitionsJon Dufresne2018-09-111-1/+1
|/ | | | | In Python 3, all classes are new-style classes. The object in the definition is redundant and unnecessary.
* Merge branch '1.7'Takeshi KOMIYA2018-06-091-2/+8
|\
| * Fix sphinx.testing uses deprecated pytest API; Node.get_marker(name)Takeshi KOMIYA2018-06-071-2/+8
| |
* | Fix make_app() fixture fails to rollback registered roles on creating ↵Takeshi KOMIYA2018-05-171-1/+1
| | | | | | | | multiple apps
* | Merge branch '1.7'Takeshi KOMIYA2018-03-181-2/+2
|\ \ | |/