diff options
| author | Hai Shi <shihai1992@gmail.com> | 2020-08-06 11:51:29 (GMT) |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-08-06 11:51:29 (GMT) |
| commit | 79bb2c93f2d81702fdf1f93720369e18a76b7d1a (patch) | |
| tree | 6ab9d0c6ef07954cc871dd6eb06f3a80329d33e6 /Lib/test/test_faulthandler.py | |
| parent | 52f98424a55e14f05dfa7483cc0faf634a61c9ff (diff) | |
| download | cpython-79bb2c93f2d81702fdf1f93720369e18a76b7d1a.zip cpython-79bb2c93f2d81702fdf1f93720369e18a76b7d1a.tar.gz cpython-79bb2c93f2d81702fdf1f93720369e18a76b7d1a.tar.bz2 | |
bpo-40275: Use new test.support helper submodules in tests (GH-21743)
Diffstat (limited to 'Lib/test/test_faulthandler.py')
| -rw-r--r-- | Lib/test/test_faulthandler.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_faulthandler.py b/Lib/test/test_faulthandler.py index c64afe8..80c1f7d 100644 --- a/Lib/test/test_faulthandler.py +++ b/Lib/test/test_faulthandler.py @@ -7,6 +7,7 @@ import subprocess import sys import sysconfig from test import support +from test.support import os_helper from test.support import script_helper, is_android import tempfile import unittest @@ -51,7 +52,7 @@ def temporary_filename(): try: yield filename finally: - support.unlink(filename) + os_helper.unlink(filename) class FaultHandlerTests(unittest.TestCase): def get_output(self, code, filename=None, fd=None): |
