commit | 4660597b51b3d14ce6269d0ed865ab7e22c6ae1f | [log] [tgz] |
---|---|---|
author | Hai Shi <shihai1992@gmail.com> | Tue Aug 04 00:49:18 2020 +0800 |
committer | GitHub <noreply@github.com> | Mon Aug 03 18:49:18 2020 +0200 |
tree | 00ab23106abb1d0023e261685dc4f2077002aabd | |
parent | bb0424b122e3d222a558bd4177ce37befd3e0347 [diff] [blame] |
bpo-40275: Use new test.support helper submodules in tests (GH-21448)
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,