bpo-40275: Use new test.support helper submodules in tests (GH-21743)

This commit is contained in:
Hai Shi 2020-08-06 19:51:29 +08:00 committed by GitHub
parent 52f98424a5
commit 79bb2c93f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
20 changed files with 73 additions and 56 deletions

View file

@ -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):