https://github.com/python/cpython/commit/369ce2b139a5b76c9c093cba1cee287cb6ffeec1
commit: 369ce2b139a5b76c9c093cba1cee287cb6ffeec1
branch: main
author: SubbaraoGarlapati <[email protected]>
committer: colesbury <[email protected]>
date: 2025-11-24T14:48:28-05:00
summary:
Fix implicit import in `test_monitoring.py` (gh-141795)
files:
M Lib/test/test_monitoring.py
diff --git a/Lib/test/test_monitoring.py b/Lib/test/test_monitoring.py
index 9b940740ca1bf9..83bf510ceea18c 100644
--- a/Lib/test/test_monitoring.py
+++ b/Lib/test/test_monitoring.py
@@ -12,10 +12,10 @@
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)
_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]