summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_descr.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_descr.py')
-rw-r--r--Lib/test/test_descr.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_descr.py b/Lib/test/test_descr.py
index faa9d89..c347d68 100644
--- a/Lib/test/test_descr.py
+++ b/Lib/test/test_descr.py
@@ -6,7 +6,7 @@ import warnings
warnings.filterwarnings("ignore",
r'complex divmod\(\), // and % are deprecated$',
- DeprecationWarning, r'(<string>|test_descr)$')
+ DeprecationWarning, r'(<string>|%s)$' % __name__)
def veris(a, b):
if a is not b: