diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-06-25 10:38:51 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-06-25 10:38:51 (GMT) |
commit | f7ba40b505989495c3585ed782070bdae56330ad (patch) | |
tree | b1b913a2100ba07c817e2c5d92b1b1537ab0f300 /Lib/test/test_pwd.py | |
parent | 5f190d2cc60cd82a604cbffb58b6ca8f40350a7a (diff) | |
download | cpython-f7ba40b505989495c3585ed782070bdae56330ad.zip cpython-f7ba40b505989495c3585ed782070bdae56330ad.tar.gz cpython-f7ba40b505989495c3585ed782070bdae56330ad.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-20849)
Diffstat (limited to 'Lib/test/test_pwd.py')
-rw-r--r-- | Lib/test/test_pwd.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Lib/test/test_pwd.py b/Lib/test/test_pwd.py index 85740ce..f8f1257 100644 --- a/Lib/test/test_pwd.py +++ b/Lib/test/test_pwd.py @@ -1,8 +1,8 @@ import sys import unittest -from test import support +from test.support import import_helper -pwd = support.import_module('pwd') +pwd = import_helper.import_module('pwd') @unittest.skipUnless(hasattr(pwd, 'getpwall'), 'Does not have getpwall()') class PwdTest(unittest.TestCase): |