aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJason R. Coombs <jaraco@jaraco.com>2020-05-03 15:05:35 -0400
committerGitHub <noreply@github.com>2020-05-03 15:05:35 -0400
commitf4161185003af545562d88df99d609d30947ed2b (patch)
tree0f9e1a1d75b78b3989735a2dc745203685e75be4
parent40f81af021b899b76b96eef52bf020c2348e1aea (diff)
parentb36de51a8f36849b126ba46846cbddd00cd2ba8f (diff)
downloadexternal_python_setuptools-f4161185003af545562d88df99d609d30947ed2b.tar.gz
external_python_setuptools-f4161185003af545562d88df99d609d30947ed2b.tar.bz2
external_python_setuptools-f4161185003af545562d88df99d609d30947ed2b.zip
Merge pull request #2082 from hroncok/lib2to3-deprecated
Filter lib2to3 (Pending)DeprecationWarning in testes
-rw-r--r--changelog.d/2082.misc.rst2
-rw-r--r--pytest.ini3
2 files changed, 5 insertions, 0 deletions
diff --git a/changelog.d/2082.misc.rst b/changelog.d/2082.misc.rst
new file mode 100644
index 00000000..81ad5d58
--- /dev/null
+++ b/changelog.d/2082.misc.rst
@@ -0,0 +1,2 @@
+Filter ``lib2to3`` ``PendingDeprecationWarning`` and ``DeprecationWarning`` in testes,
+because ``lib2to3`` is `deprecated in Python 3.9 <https://bugs.python.org/issue40360>`_.
diff --git a/pytest.ini b/pytest.ini
index b13b7f33..479a2965 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -20,3 +20,6 @@ filterwarnings =
ignore:Unicode unequal comparison failed to convert:UnicodeWarning
# https://github.com/pypa/setuptools/issues/2025
ignore:direct construction of .*Item has been deprecated:DeprecationWarning
+ # https://github.com/pypa/setuptools/issues/2081
+ ignore:lib2to3 package is deprecated:PendingDeprecationWarning
+ ignore:lib2to3 package is deprecated:DeprecationWarning