summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2023-02-12 13:02:00 -0500
committerJason R. Coombs <jaraco@jaraco.com>2023-02-12 13:16:34 -0500
commitc8a6a4a1c97f267faef01c0db879ea599dfc0e11 (patch)
tree2d4164dd330a9a3bc4c3d7ca724be8ef0c0413ee
parent07a9cd6b25f727b49f5f13c60b19d3a929803811 (diff)
downloadpython-setuptools-git-c8a6a4a1c97f267faef01c0db879ea599dfc0e11.tar.gz
Do not error on EncodingWarning. Instead emit them like usual. Ref #3810
-rw-r--r--pytest.ini5
1 files changed, 5 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index c8b2e834..4f4f9cde 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -78,3 +78,8 @@ filterwarnings=
# https://github.com/pypa/setuptools/issues/3655
ignore:The --rsyncdir command line argument and rsyncdirs config variable are deprecated.:DeprecationWarning
+
+ # Workarounds for pypa/setuptools#3810
+ # Can't use EncodingWarning as it doesn't exist on Python 3.9
+ default:'encoding' argument not specified
+ default:UTF-8 Mode affects locale.getpreferredencoding().