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

@ -1,13 +1,12 @@
import unittest
import sys
from test.test_support import (check_warnings, CleanImport,
SkipTest, run_unittest)
from test.test_support import check_warnings, CleanImport, run_unittest
import warnings
from contextlib import nested
if not sys.py3kwarning:
raise SkipTest('%s must be run with the -3 flag' % __name__)
raise unittest.SkipTest('%s must be run with the -3 flag' % __name__)
def reset_module_registry(module):
try: