summaryrefslogtreecommitdiff
path: root/pytest.ini
diff options
context:
space:
mode:
authorAnderson Bravalheri <andersonbravalheri@gmail.com>2023-02-13 20:33:01 +0000
committerAnderson Bravalheri <andersonbravalheri@gmail.com>2023-02-13 20:33:01 +0000
commit925a792d8c7f69500c0169c932df08f73f30f6fe (patch)
treea020d8e42fb57388bed847a7fcf8fdfae2e05f3b /pytest.ini
parent52c605573716db3100543be728addf1bce965802 (diff)
parentde2361c389304603f0daf70b0ee0647af0b9e981 (diff)
downloadpython-setuptools-git-925a792d8c7f69500c0169c932df08f73f30f6fe.tar.gz
Add a DeprecationWarning to pkg_resources.declare_namespace (#3434)
Diffstat (limited to 'pytest.ini')
-rw-r--r--pytest.ini3
1 files changed, 3 insertions, 0 deletions
diff --git a/pytest.ini b/pytest.ini
index 3c73f2ee..1a651f55 100644
--- a/pytest.ini
+++ b/pytest.ini
@@ -83,3 +83,6 @@ filterwarnings=
# 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().
+
+ # Avoid errors when testing pkg_resources.declare_namespace
+ ignore:.*pkg_resources\.declare_namespace.*:DeprecationWarning