diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-08-03 16:41:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 16:41:24 (GMT) |
commit | a7f5d93bb6906d0f999248b47295d3a59b130f4d (patch) | |
tree | a0dc5043ecc7a4250902f8d14c802382b1c94b8a /Lib/test/test_bisect.py | |
parent | 488512bf4953d856fcb049a05060a450af52fcdc (diff) | |
download | cpython-a7f5d93bb6906d0f999248b47295d3a59b130f4d.zip cpython-a7f5d93bb6906d0f999248b47295d3a59b130f4d.tar.gz cpython-a7f5d93bb6906d0f999248b47295d3a59b130f4d.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-21449)
Diffstat (limited to 'Lib/test/test_bisect.py')
-rw-r--r-- | Lib/test/test_bisect.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/Lib/test/test_bisect.py b/Lib/test/test_bisect.py index 580a963..fc7990d 100644 --- a/Lib/test/test_bisect.py +++ b/Lib/test/test_bisect.py @@ -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.""" |