diff options
author | Hai Shi <shihai1992@gmail.com> | 2020-08-03 16:41:24 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-08-03 16:41:24 (GMT) |
commit | a7f5d93bb6906d0f999248b47295d3a59b130f4d (patch) | |
tree | a0dc5043ecc7a4250902f8d14c802382b1c94b8a /Lib/test/test_signal.py | |
parent | 488512bf4953d856fcb049a05060a450af52fcdc (diff) | |
download | cpython-a7f5d93bb6906d0f999248b47295d3a59b130f4d.zip cpython-a7f5d93bb6906d0f999248b47295d3a59b130f4d.tar.gz cpython-a7f5d93bb6906d0f999248b47295d3a59b130f4d.tar.bz2 |
bpo-40275: Use new test.support helper submodules in tests (GH-21449)
Diffstat (limited to 'Lib/test/test_signal.py')
-rw-r--r-- | Lib/test/test_signal.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_signal.py b/Lib/test/test_signal.py index 45553a6..c656790 100644 --- a/Lib/test/test_signal.py +++ b/Lib/test/test_signal.py @@ -9,6 +9,7 @@ import sys import time import unittest from test import support +from test.support import os_helper from test.support.script_helper import assert_python_ok, spawn_python try: import _testcapi @@ -154,7 +155,7 @@ class WakeupFDTests(unittest.TestCase): signal.set_wakeup_fd(signal.SIGINT, False) def test_invalid_fd(self): - fd = support.make_bad_fd() + fd = os_helper.make_bad_fd() self.assertRaises((ValueError, OSError), signal.set_wakeup_fd, fd) |