bpo-40275: Use new test.support helper submodules in tests (GH-21451)

This commit is contained in:
Hai Shi 2020-08-04 00:47:42 +08:00 committed by GitHub
parent a7f5d93bb6
commit bb0424b122
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 324 additions and 278 deletions

View file

@ -4,9 +4,10 @@ import unittest
from textwrap import dedent
from contextlib import ExitStack
from unittest import mock
from test import support
from test.support import import_helper
code = support.import_module('code')
code = import_helper.import_module('code')
class TestInteractiveConsole(unittest.TestCase):