diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-06-30 13:46:06 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-30 13:46:06 (GMT) |
commit | 3ddc634cd5469550c0c2dc5a6051a70739995699 (patch) | |
tree | 5c4bba3b3ff821397ef129298a49f4b3f34c58a4 /Lib/test/test_unicode_file.py | |
parent | 3fa4799c3f9d9de7cac30e5db3627e9e125b9ce5 (diff) | |
download | cpython-3ddc634cd5469550c0c2dc5a6051a70739995699.zip cpython-3ddc634cd5469550c0c2dc5a6051a70739995699.tar.gz cpython-3ddc634cd5469550c0c2dc5a6051a70739995699.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-21219)
Diffstat (limited to 'Lib/test/test_unicode_file.py')
-rw-r--r-- | Lib/test/test_unicode_file.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_unicode_file.py b/Lib/test/test_unicode_file.py index 46a0d06..e397949 100644 --- a/Lib/test/test_unicode_file.py +++ b/Lib/test/test_unicode_file.py @@ -6,8 +6,10 @@ import sys import unicodedata import unittest -from test.support import (run_unittest, rmtree, change_cwd, - TESTFN_UNICODE, TESTFN_UNENCODABLE, create_empty_file) +from test.support import run_unittest +from test.support.os_helper import (rmtree, change_cwd, TESTFN_UNICODE, + TESTFN_UNENCODABLE, create_empty_file) + if not os.path.supports_unicode_filenames: try: |