bpo-40275: Use new test.support helper submodules in tests (GH-21743)
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 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 @@
try:
yield filename
finally:
- support.unlink(filename)
+ os_helper.unlink(filename)
class FaultHandlerTests(unittest.TestCase):
def get_output(self, code, filename=None, fd=None):