commit | 79bb2c93f2d81702fdf1f93720369e18a76b7d1a | [log] [tgz] |
---|---|---|
author | Hai Shi <shihai1992@gmail.com> | Thu Aug 06 19:51:29 2020 +0800 |
committer | GitHub <noreply@github.com> | Thu Aug 06 13:51:29 2020 +0200 |
tree | 6ab9d0c6ef07954cc871dd6eb06f3a80329d33e6 | |
parent | 52f98424a55e14f05dfa7483cc0faf634a61c9ff [diff] [blame] |
bpo-40275: Use new test.support helper submodules in tests (GH-21743)
diff --git a/Lib/test/test_grp.py b/Lib/test/test_grp.py index 0993f09..c7ec03e 100644 --- a/Lib/test/test_grp.py +++ b/Lib/test/test_grp.py
@@ -1,9 +1,10 @@ """Test script for the grp module.""" import unittest -from test import support +from test.support import import_helper -grp = support.import_module('grp') + +grp = import_helper.import_module('grp') class GroupDatabaseTestCase(unittest.TestCase):