summaryrefslogtreecommitdiff
path: root/tests/test_util.py
Commit message (Collapse)AuthorAgeFilesLines
* Move XML Name pattern to ``epub3``Adam Turner2023-01-031-8/+1
|
* Move console output utilities to ``sphinx.util.display``Adam Turner2023-01-031-84/+1
| | | | | - Merge `old_status_iterator` into ``status_iterator``. ``old_status_iterator`` was deprecated in version 1.6.
* 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
|
* 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
* refactor: Fix flake8 violations under tests/ directoryTakeshi KOMIYA2020-11-151-2/+1
|
* Sort imports with isortFrançois Freitag2020-11-111-5/+3
| | | | | | | | | | | | 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.
* Remove a testcase for get_module_source() (deprecated)Takeshi KOMIYA2020-02-161-11/+1
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Merge pull request #6143 from tk0miya/6140_unittest.mockTakeshi KOMIYA2019-03-081-1/+1
|\ | | | | Fix #6140: Use unittest.mock instead of mock
| * Fix #6140: Use unittest.mock instead of mockTakeshi KOMIYA2019-03-081-1/+1
| |
* | refactor: import_object() allows to import nested objects (ex. nested class)Takeshi KOMIYA2019-02-271-2/+22
|/
* progress_message() supports a skipTakeshi KOMIYA2019-01-191-2/+40
|
* 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-9/+9
| |
* | refactor: Drop six.PY2Takeshi KOMIYA2018-12-151-6/+1
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-12-021-2/+2
|\ \ | |/
| * Fix #5659: linkcheck: crashes for a hyperlink containing multibyte characterTakeshi KOMIYA2018-11-251-2/+2
| |
* | Merge branch '1.8'Takeshi KOMIYA2018-11-221-1/+19
|\ \ | |/
| * Fix #5614: autodoc: incremental build is broken when builtin modules are ↵Takeshi KOMIYA2018-11-131-1/+19
| | | | | | | | imported
* | Simplify ensuredir() with Python3 stdlib featuresJon Dufresne2018-11-201-1/+18
|/ | | | | | | | | - Simplify ensuredir() to equivalent os.makedir(name, exist_ok=True) - Do not check if a directory exists before calling ensuredir() (ensuredir() already handles it) - Add exist_ok argument to path.makedirs() to follow same pattern - Drop unnecessary .exists() check immediately before .isdir() - Add tests for ensuredir
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-3/+2
|
* Merge branch 'happy_new_year' into masterTakeshi KOMIYA2018-01-011-1/+1
|\
| * A happy new year!Takeshi KOMIYA2018-01-011-1/+1
| |
* | Fix flake8 violationsTakeshi KOMIYA2017-12-231-1/+0
| |
* | Add test_io.pyTakeshi KOMIYA2017-12-121-24/+1
|/
* fix #3840: epub_uid should be XML NameYoshiki Shibukawa2017-06-301-1/+10
|
* refs #3458: add sphinx.testing that are moved from /tests directory.shimizukawa2017-05-141-1/+1
|
* Merge branch 'stable'Takeshi KOMIYA2017-03-261-1/+1
|\
| * Year++Takeshi KOMIYA2017-03-261-1/+1
| |
* | Show warning if :lines: and :emphasize-lines: get out of rangeTakeshi KOMIYA2017-02-211-2/+1
| |
* | parselinenos() raises out of range errorTakeshi KOMIYA2017-02-131-0/+2
| |
* | parselinenos() raise errors for "10-1" rangeTakeshi KOMIYA2017-02-121-0/+3
| |
* | Merge branch 'stable'Takeshi KOMIYA2017-02-121-2/+19
|\ \ | |/
| * Fix parselinenos() could not parse left half open range (cf. "-4")Takeshi KOMIYA2017-02-121-0/+1
| |
| * Add testcase for parselinenosTakeshi KOMIYA2017-02-121-1/+20
| |
* | Sphinx.status_iterator() is now deprecatedTakeshi KOMIYA2017-01-071-1/+49
|/
* Update the regex in util.split_docinfo so that it parses multi-line field ↵Junpei Kawamoto2016-12-021-0/+5
| | | | | | | | bodies. Field Lists, which are used to define docinfo, allow multi-line field bodies, but util.split_docinfo didn't consider it. This commit updates the regex in that function so that it parses such multi-line field bodies.
* Fix #1944: rst_prolog breaks file-wide metadataTakeshi KOMIYA2016-01-241-1/+18
|
* Obligatory copyright update.Georg Brandl2016-01-141-1/+1
|
* 95 chars in line. It was warned by `make check`.shimizukawa2016-01-121-1/+2
|
* Fix #2171: cannot linkcheck url with unicodeTakeshi KOMIYA2015-12-191-1/+7
|
* Add testcase for encoding URIs in linkcheck builderTakeshi KOMIYA2015-12-191-0/+19