summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_dl.py
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-03-26 21:10:30 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-03-26 21:10:30 (GMT)
commitbec087f29d7dca0aaf8f51be7d7c135e9b84e7f1 (patch)
treeb7e37c8e82279a3a58d768ec4a79fd51488521f7 /Lib/test/test_dl.py
parentad57d97596bb9466e6fce0c3dfcf436fd5c36ff9 (diff)
downloadcpython-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.zip
cpython-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.tar.gz
cpython-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.tar.bz2
fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
Diffstat (limited to 'Lib/test/test_dl.py')
-rwxr-xr-xLib/test/test_dl.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_dl.py b/Lib/test/test_dl.py
index 89f999d..a3f04ea 100755
--- a/Lib/test/test_dl.py
+++ b/Lib/test/test_dl.py
@@ -2,7 +2,7 @@
"""Test dlmodule.c
Roger E. Masse revised strategy by Barry Warsaw
"""
-from test.test_support import verbose,SkipTest, import_module
+from test.test_support import verbose, import_module
dl = import_module('dl', deprecated=True)
sharedlibs = [
@@ -31,7 +31,7 @@ def test_main():
print 'worked!'
break
else:
- raise SkipTest, 'Could not open any shared libraries'
+ raise unittest.SkipTest, 'Could not open any shared libraries'
if __name__ == '__main__':