mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21449)
This commit is contained in:
parent
488512bf49
commit
a7f5d93bb6
20 changed files with 154 additions and 132 deletions
|
@ -1,10 +1,11 @@
|
|||
import sys
|
||||
import unittest
|
||||
from test import support
|
||||
from test.support import import_helper
|
||||
from collections import UserList
|
||||
|
||||
py_bisect = support.import_fresh_module('bisect', blocked=['_bisect'])
|
||||
c_bisect = support.import_fresh_module('bisect', fresh=['_bisect'])
|
||||
|
||||
py_bisect = import_helper.import_fresh_module('bisect', blocked=['_bisect'])
|
||||
c_bisect = import_helper.import_fresh_module('bisect', fresh=['_bisect'])
|
||||
|
||||
class Range(object):
|
||||
"""A trivial range()-like object that has an insert() method."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue