diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-08-03 16:49:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 16:49:18 (GMT) |
commit | 4660597b51b3d14ce6269d0ed865ab7e22c6ae1f (patch) | |
tree | 00ab23106abb1d0023e261685dc4f2077002aabd /Lib/test/test_spwd.py | |
parent | bb0424b122e3d222a558bd4177ce37befd3e0347 (diff) | |
download | cpython-4660597b51b3d14ce6269d0ed865ab7e22c6ae1f.zip cpython-4660597b51b3d14ce6269d0ed865ab7e22c6ae1f.tar.gz cpython-4660597b51b3d14ce6269d0ed865ab7e22c6ae1f.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-21448)
Diffstat (limited to 'Lib/test/test_spwd.py')
-rw-r--r-- | Lib/test/test_spwd.py | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Lib/test/test_spwd.py b/Lib/test/test_spwd.py index 07793c8..a143acc 100644 --- a/Lib/test/test_spwd.py +++ b/Lib/test/test_spwd.py @@ -1,8 +1,9 @@ import os import unittest -from test import support +from test.support import import_helper -spwd = support.import_module('spwd') + +spwd = import_helper.import_module('spwd') @unittest.skipUnless(hasattr(os, 'geteuid') and os.geteuid() == 0, |