diff options
Diffstat (limited to 'Lib/test/test_dl.py')
| -rwxr-xr-x | Lib/test/test_dl.py | 4 |
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__': |
