diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-07-06 09:15:08 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-06 09:15:08 (GMT) |
commit | a089d21df1ea502b995d8e8a3bcc937cce030802 (patch) | |
tree | 0ca48d704e4b63bd7090483a24879a09e1f911eb /Lib/test/test_fcntl.py | |
parent | 883bc638335a57a6e6a6344c2fc132c4f9a0ec42 (diff) | |
download | cpython-a089d21df1ea502b995d8e8a3bcc937cce030802.zip cpython-a089d21df1ea502b995d8e8a3bcc937cce030802.tar.gz cpython-a089d21df1ea502b995d8e8a3bcc937cce030802.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-21315)
Diffstat (limited to 'Lib/test/test_fcntl.py')
-rw-r--r-- | Lib/test/test_fcntl.py | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/Lib/test/test_fcntl.py b/Lib/test/test_fcntl.py index 9ab68c6..7e10920 100644 --- a/Lib/test/test_fcntl.py +++ b/Lib/test/test_fcntl.py @@ -6,8 +6,10 @@ import struct import sys import unittest from multiprocessing import Process -from test.support import (verbose, TESTFN, unlink, run_unittest, import_module, - cpython_only) +from test.support import (verbose, run_unittest, cpython_only) +from test.support.import_helper import import_module +from test.support.os_helper import TESTFN, unlink + # Skip test if no fcntl module. fcntl = import_module('fcntl') |