Skip to content

Commit bc19509

Browse files
committed
Enable PYTHON_WARN_DEFAULT_ENCODING to catch EncodingWarnings. Ref pypa#12070.
1 parent 5e8e88e commit bc19509

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

noxfile.py

+1
Original file line numberDiff line numberDiff line change
@@ -116,6 +116,7 @@ def test(session: nox.Session) -> None:
116116
*arguments,
117117
env={
118118
"LC_CTYPE": "en_US.UTF-8",
119+
"PYTHON_WARN_DEFAULT_ENCODING": "1",
119120
},
120121
)
121122

0 commit comments

Comments
 (0)