mirror of
https://github.com/python/cpython.git
synced 2025-08-01 15:43:13 +00:00
remove test_support.TestSkipped and just use unittest.SkipTest
This commit is contained in:
parent
21f6aac633
commit
888a39b54c
44 changed files with 99 additions and 108 deletions
|
@ -1,13 +1,13 @@
|
|||
import unittest
|
||||
import sys
|
||||
from test.test_support import (check_warnings, CleanImport,
|
||||
TestSkipped, run_unittest)
|
||||
SkipTest, run_unittest)
|
||||
import warnings
|
||||
|
||||
from contextlib import nested
|
||||
|
||||
if not sys.py3kwarning:
|
||||
raise TestSkipped('%s must be run with the -3 flag' % __name__)
|
||||
raise SkipTest('%s must be run with the -3 flag' % __name__)
|
||||
|
||||
def reset_module_registry(module):
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue