mirror of
https://github.com/sphinx-doc/sphinx.git
synced 2026-10-12 16:32:10 -05:00
Enable the opt-in EncodingWarning
https://docs.python.org/3/library/io.html#io-encoding-warning
This commit is contained in:
1 parent
301c7bdf57
commit
26c5c40b50
2 files changed
+4
-4
No files matched your search
@@ -28,7 +28,7 @@ setenv =
|
||||
PYTHONWARNINGS = all
|
||||
PYTEST_ADDOPTS = {env:PYTEST_ADDOPTS:} --color yes
|
||||
commands=
|
||||
python -X dev -m pytest --durations 25 {posargs}
|
||||
python -X dev -X warn_default_encoding -m pytest --durations 25 {posargs}
|
||||
|
||||
[testenv:du-latest]
|
||||
commands =
|
||||
@@ -83,7 +83,7 @@ description =
|
||||
extras =
|
||||
docs
|
||||
commands =
|
||||
python setup.py build_sphinx {posargs}
|
||||
python -X dev -X warn_default_encoding setup.py build_sphinx {posargs}
|
||||
|
||||
[testenv:docslint]
|
||||
basepython = python3
|
||||
|
||||
Reference in new issue
Block a user