summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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().