summaryrefslogtreecommitdiff
path: root/tests/test_setup_command.py
Commit message (Collapse)AuthorAgeFilesLines
* Remove tests that rely on setuptoolsAdam Turner2023-03-051-141/+0
|
* Prefer ``contextlib.chdir`` to ``sphinx.util.osutil.cd``Adam Turner2023-03-051-2/+6
|
* Fix pytest style issuesAdam Turner2023-02-181-2/+2
|
* Prefer ``@pytest.fixture()``Adam Turner2023-02-181-2/+2
|
* Treat Python warnings as errors during testingAdam Turner2023-02-151-1/+1
|
* Remove always-false branchesAdam Turner2022-05-021-4/+1
|
* `.write_text(...)` -> `.write_text(..., encoding='utf8')`Adam Turner2022-04-271-4/+7
|
* `.read_text()` -> `.read_text(encoding='utf8')`Adam Turner2022-04-271-1/+1
|
* 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
|
* Close #8326: Rename master_doc to root_docTakeshi KOMIYA2021-02-281-5/+5
| | | | | | To describe the purpose more accurately, the `master_doc` is now renamed to `root_doc`. The old name is still available. But it is recommeneded to use new one from now on.
* 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
* test: Use read_text() and read_bytes()Takeshi KOMIYA2020-02-011-1/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* 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.
* | refactor: Remove u-prefix from stringsTakeshi KOMIYA2018-12-161-1/+1
| |
* | Avoid respecifying default encoding for .encode()/.decode() callsJon Dufresne2018-12-151-1/+1
| | | | | | | | | | | | | | | | | | | | | | In Python 3, both .encode() and .decode() default the encoding to 'utf-8'. See the docs: https://docs.python.org/3/library/stdtypes.html#str.encode https://docs.python.org/3/library/stdtypes.html#bytes.decode Simplify and shorten the code by using the default instead of respecifying it.
* | Fix all BytesWarning identified through testsJon Dufresne2018-11-131-14/+14
| | | | | | | | | | | | | | | | Code should not arbitrarily mix bytes & str values. The values should be understood and deliberate. When Python is run with the -b option, this change fixes warnings of the form: BytesWarning: str() on a bytes instance
* | The default setting for master_doc is changed to 'index'Takeshi KOMIYA2018-09-041-1/+1
|/
* Fix sphinx.testing uses deprecated pytest API; Node.get_marker(name)Takeshi KOMIYA2018-06-071-1/+4
|
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-3/+3
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* refs #3458: add sphinx.testing that are moved from /tests directory.shimizukawa2017-05-141-12/+4
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | setuptools: Support multiple buildersStephen Finucane2017-02-281-0/+18
|/ | | | | | | | | | | | | | | | | At present, the 'builder' option for the setuptools integration only supports a single output format, typically HTML, like so: [build_sphinx] builder = man There is value in being able to specify multiple format, like so: [build_sphinx] builder = html man Make this possible. Signed-off-by: Stephen Finucane <stephen@that.guru>
* Fix flake8 violationsTakeshi KOMIYA2017-01-261-4/+3
|
* pytest: nitsshimizukawa2017-01-061-1/+2
|
* pytest migrationshimizukawa2017-01-041-49/+50
|
* Add ``--warning-is-error`` option to setup.py commandTadej Janež2016-06-301-0/+22
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* Merge branch 'stable'Georg Brandl2015-01-031-1/+1
|\
| * all: update copyrightGeorg Brandl2015-01-031-1/+1
| |
* | Complete test suite overhaul.Georg Brandl2014-09-211-2/+7
|/ | | | | | | | | | | | * rename a few test modules to make the names more consistent * do not copy/use Sphinx from build/ (unnecessary without 2to3) * use a temporary dir for *all* test projects, the source tree will stay pristine that way (default is tests/build) * speed up tests by ~3x by splitting up test projects and avoiding rebuilds
* Now Sphinx exits with non-zero status code if builder status is not success. ↵Takayuki Shimizukawa2014-08-291-1/+12
| | | | Closes #508.
* Update copyright year.Georg Brandl2014-03-011-1/+1
|
* fix test error; can't remove empty directory problem on Windows.Takayuki Shimizukawa2013-12-081-1/+1
|
* Make sure setup_command test can always import SphinxDmitry Shachnev2013-10-051-0/+5
|
* grammar fix: 'multibyte filename' is ambiguous. They are replaced with ↵Takayuki Shimizukawa2013-10-031-2/+2
| | | | 'non-ASCII filename'. refs #703
* small grammar fix in multibyte filename messagesGeorg Brandl2013-10-011-1/+1
|
* When Sphinx couldn't decode multibyte filename, now Sphinx notices ↵Takayuki Shimizukawa2013-09-281-2/+9
| | | | UnicodeError and continuing if possible instead of raise exception. Closes #703
* Fix again: NFC/NFD normalizing problem. Closes #1142Takayuki Shimizukawa2013-09-181-0/+82