diff options
author | Benjamin Peterson <benjamin@python.org> | 2009-03-26 21:10:30 +0000 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2009-03-26 21:10:30 +0000 |
commit | bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1 (patch) | |
tree | b7e37c8e82279a3a58d768ec4a79fd51488521f7 /Lib/test/test_decimal.py | |
parent | ad57d97596bb9466e6fce0c3dfcf436fd5c36ff9 (diff) | |
download | cpython-git-bec087f29d7dca0aaf8f51be7d7c135e9b84e7f1.tar.gz |
fix incorrect auto-translation of TestSkipped -> unittest.SkipTest
Diffstat (limited to 'Lib/test/test_decimal.py')
-rw-r--r-- | Lib/test/test_decimal.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/test/test_decimal.py b/Lib/test/test_decimal.py index 131c893532..7f95983326 100644 --- a/Lib/test/test_decimal.py +++ b/Lib/test/test_decimal.py @@ -31,8 +31,7 @@ import pickle, copy import unittest from decimal import * import numbers -from test.test_support import (SkipTest, run_unittest, run_doctest, - is_resource_enabled) +from test.test_support import (run_unittest, run_doctest, is_resource_enabled) import random try: import threading @@ -194,7 +193,7 @@ class DecimalTest(unittest.TestCase): def eval_file(self, file): global skip_expected if skip_expected: - raise SkipTest + raise unittest.SkipTest return for line in open(file).xreadlines(): line = line.replace('\r\n', '').replace('\n', '') |