Skip to content

Commit 284359e

Browse files
committed
Enable default encoding warning where available. See PEP 597.
1 parent f9e01d2 commit 284359e

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

tox.ini

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,13 @@ toxworkdir={env:TOX_WORK_DIR:.tox}
88

99
[testenv]
1010
deps =
11+
setenv =
12+
PYTHONWARNDEFAULTENCODING = 1
1113
commands =
1214
pytest {posargs}
1315
usedevelop = True
14-
extras = testing
16+
extras =
17+
testing
1518

1619
[testenv:docs]
1720
extras =

0 commit comments

Comments
 (0)