mirror of
https://github.com/python/cpython.git
synced 2025-08-03 16:39:00 +00:00
bpo-40275: Use new test.support helper submodules in tests (GH-21314)
This commit is contained in:
parent
9ce8132e1f
commit
883bc63833
19 changed files with 225 additions and 194 deletions
|
@ -1,8 +1,10 @@
|
|||
from test import support
|
||||
from test.support import import_helper
|
||||
import unittest
|
||||
|
||||
|
||||
# Skip test if nis module does not exist.
|
||||
nis = support.import_module('nis')
|
||||
nis = import_helper.import_module('nis')
|
||||
|
||||
|
||||
class NisTests(unittest.TestCase):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue