]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
[3.14] Fix implicit import in `test_monitoring.py` (gh-141795) (gh-141920)
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Mon, 24 Nov 2025 20:19:20 +0000 (21:19 +0100)
committerGitHub <noreply@github.com>
Mon, 24 Nov 2025 20:19:20 +0000 (20:19 +0000)
(cherry picked from commit 369ce2b139a5b76c9c093cba1cee287cb6ffeec1)

Co-authored-by: SubbaraoGarlapati <53627478+SubbaraoGarlapati@users.noreply.github.com>
Lib/test/test_monitoring.py

index 28895d16c5707c6ac160fc2029b7e5832a11201a..98276a8ccaa610826f67adcd36e14484ae89e67c 100644 (file)
@@ -12,10 +12,10 @@ import types
 import unittest
 
 import test.support
-from test.support import requires_specialization_ft, script_helper
+from test.support import import_helper, requires_specialization_ft, script_helper
 
-_testcapi = test.support.import_helper.import_module("_testcapi")
-_testinternalcapi = test.support.import_helper.import_module("_testinternalcapi")
+_testcapi = import_helper.import_module("_testcapi")
+_testinternalcapi = import_helper.import_module("_testinternalcapi")
 
 PAIR = (0,1)