summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dl.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_dl.py')
-rwxr-xr-xLib/test/test_dl.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py
index c04bc1b..5c8188e 100755
--- a/Lib/test/test_dl.py
+++ b/Lib/test/test_dl.py
@@ -3,7 +3,10 @@
Roger E. Masse revised strategy by Barry Warsaw
"""
from test.test_support import verbose,TestSkipped, import_module
+import warnings
+warnings.simplefilter('always')
dl = import_module('dl', deprecated=True)
+warnings.resetwarnings()
sharedlibs = [
('/usr/lib/libc.so', 'getpid'),