diff options
author | Brett Cannon <brett@python.org> | 2021-04-03 22:31:15 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-03 22:31:15 (GMT) |
commit | dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936 (patch) | |
tree | 80ae8d9059b68a4803a02c7269dba190f7596678 /Lib/test/test_pkgutil.py | |
parent | c5354c045c1067549554c35485a12afdcf88a202 (diff) | |
download | cpython-dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936.zip cpython-dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936.tar.gz cpython-dc6d3e1e4c0c1e4b2210edab8fb4762569dc2936.tar.bz2 |
bpo-43720: Update import-related stdlib deprecation messages to say they will be removed in Python 3.12 (GH-25167)
Diffstat (limited to 'Lib/test/test_pkgutil.py')
-rw-r--r-- | Lib/test/test_pkgutil.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_pkgutil.py b/Lib/test/test_pkgutil.py index bf9722a..6e3618f 100644 --- a/Lib/test/test_pkgutil.py +++ b/Lib/test/test_pkgutil.py @@ -498,7 +498,8 @@ class ImportlibMigrationTests(unittest.TestCase): def check_deprecated(self): return check_warnings( - ("This emulation is deprecated, use 'importlib' instead", + ("This emulation is deprecated and slated for removal in " + "Python 3.12; use 'importlib' instead", DeprecationWarning)) def test_importer_deprecated(self): |