summaryrefslogtreecommitdiff
path: root/tests/test_util_fileutil.py
Commit message (Collapse)AuthorAgeFilesLines
* Revert "Support and prefer ``.jinja`` to ``_t`` for static templates ↵James Addison2023-04-231-20/+9
| | | | | (#11165)" (#11329) This reverts commit 5d13215b58f93c6be8255ef2e3e20836508c7d47.
* Support and prefer ``.jinja`` to ``_t`` for static templates (#11165)James Addison2023-04-071-9/+20
| | | Co-authored-by: Adam Turner <9087854+AA-Turner@users.noreply.github.com>
* Use the `flake8-comprehensions` lint plugin (#10601)danieleades2022-06-261-2/+2
|
* `.write_text(...)` -> `.write_text(..., encoding='utf8')`Adam Turner2022-04-271-5/+5
|
* `.read_text()` -> `.read_text(encoding='utf8')`Adam Turner2022-04-271-6/+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
|
* Fix typoEisuke Kawashima2021-07-081-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
* test: Use read_text() and read_bytes()Takeshi KOMIYA2020-02-011-6/+6
|
* A happy new year!Takeshi KOMIYA2020-01-011-1/+1
|
* Fix #6140: Use unittest.mock instead of mockTakeshi KOMIYA2019-03-081-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.
* | Use Python 3 super() argument-less syntaxJon Dufresne2018-12-151-1/+1
| | | | | | | | | | | | The form is less verbose and more idiomatic for Python 3 only code. https://docs.python.org/3/library/functions.html#super
* | Use super() to call parent class's methodJon Dufresne2018-11-111-1/+1
|/
* Fix flake8 violationsTakeshi KOMIYA2018-02-191-2/+3
|
* A happy new year!Takeshi KOMIYA2018-01-011-1/+1
|
* Year++Takeshi KOMIYA2017-03-261-1/+1
|
* pytest: remove deprecated with_tempdir decoratorshimizukawa2017-01-061-3/+0
|
* pytest migrationshimizukawa2017-01-041-19/+19
|
* To simplify, sphinx uses external mock package even if unittest.mock exists.shimizukawa2016-10-151-2/+2
|
* copy_asset_file() does not expand if context not givenTakeshi KOMIYA2016-07-061-6/+17
|
* Add sphinx.util.fileutil.copy_asset()Takeshi KOMIYA2016-07-061-1/+46
|
* Add sphinx.util.fileutil.copy_asset_file()Takeshi KOMIYA2016-07-061-0/+58