Enable the opt-in EncodingWarning

https://docs.python.org/3/library/io.html#io-encoding-warning
This commit is contained in:
Adam Turner committed 2022-04-16 19:30:45 +01:00
1 parent 301c7bdf57
commit 26c5c40b50
2 files changed
+4 -4

No files matched your search

+2 -2
View File
@@ -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