remove test_support.TestSkipped and just use unittest.SkipTest

This commit is contained in:
Benjamin Peterson 2009-03-26 20:48:25 +00:00
parent 21f6aac633
commit 888a39b54c
44 changed files with 99 additions and 108 deletions

View file

@ -31,7 +31,7 @@ import pickle, copy
import unittest
from decimal import *
import numbers
from test.test_support import (TestSkipped, run_unittest, run_doctest,
from test.test_support import (SkipTest, run_unittest, run_doctest,
is_resource_enabled)
import random
try:
@ -194,7 +194,7 @@ class DecimalTest(unittest.TestCase):
def eval_file(self, file):
global skip_expected
if skip_expected:
raise TestSkipped
raise SkipTest
return
for line in open(file).xreadlines():
line = line.replace('\r\n', '').replace('\n', '')