fix incorrect auto-translation of TestSkipped -> unittest.SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 21:10:30 +00:00
parent ad57d97596
commit bec087f29d
31 changed files with 75 additions and 75 deletions

View file

@ -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', '')