mirror of
https://github.com/python/cpython.git
synced 2025-08-22 17:55:18 +00:00
#2621 rename test.test_support to test.support
This commit is contained in:
parent
6a654814ea
commit
ee8712cda4
358 changed files with 1308 additions and 1307 deletions
|
@ -1,5 +1,5 @@
|
|||
from test.test_support import TestFailed, verbose, verify, vereq
|
||||
import test.test_support
|
||||
from test.support import TestFailed, verbose, verify, vereq
|
||||
import test.support
|
||||
import struct
|
||||
import array
|
||||
import warnings
|
||||
|
@ -50,7 +50,7 @@ def any_err(func, *args):
|
|||
|
||||
def with_warning_restore(func):
|
||||
def _with_warning_restore(*args, **kw):
|
||||
with test.test_support.catch_warning():
|
||||
with test.support.catch_warning():
|
||||
# Grrr, we need this function to warn every time. Without removing
|
||||
# the warningregistry, running test_tarfile then test_struct would fail
|
||||
# on 64-bit platforms.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue