diff options
author | Jason R. Coombs <jaraco@jaraco.com> | 2020-05-03 15:05:35 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-03 15:05:35 -0400 |
commit | f4161185003af545562d88df99d609d30947ed2b (patch) | |
tree | 0f9e1a1d75b78b3989735a2dc745203685e75be4 | |
parent | 40f81af021b899b76b96eef52bf020c2348e1aea (diff) | |
parent | b36de51a8f36849b126ba46846cbddd00cd2ba8f (diff) | |
download | external_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.rst | 2 | ||||
-rw-r--r-- | pytest.ini | 3 |
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>`_. @@ -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 |