summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_importlib/test_spec.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_importlib/test_spec.py')
-rw-r--r--Lib/test/test_importlib/test_spec.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_importlib/test_spec.py b/Lib/test/test_importlib/test_spec.py
index ae77a28..71541f6 100644
--- a/Lib/test/test_importlib/test_spec.py
+++ b/Lib/test/test_importlib/test_spec.py
@@ -50,7 +50,7 @@ class LegacyLoader(TestLoader):
HAM = -1
with warnings.catch_warnings():
- warnings.simplefilter("ignore", PendingDeprecationWarning)
+ warnings.simplefilter("ignore", DeprecationWarning)
@frozen_util.module_for_loader
def load_module(self, module):