summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cmd_line.py
diff options
context:
space:
mode:
authorNikita Sobolev <mail@sobolevn.me>2023-09-22 20:51:58 (GMT)
committerGitHub <noreply@github.com>2023-09-22 20:51:58 (GMT)
commit8ded34a1ff2d355e95213ab72493908f2ca25dd9 (patch)
tree68cbfed2bb3f53e1b92248e76d0bfa6d289d14a4 /Lib/test/test_cmd_line.py
parent8a82bff12c8e6c6c204c8a48ee4993d908ec4b73 (diff)
downloadcpython-8ded34a1ff2d355e95213ab72493908f2ca25dd9.zip
cpython-8ded34a1ff2d355e95213ab72493908f2ca25dd9.tar.gz
cpython-8ded34a1ff2d355e95213ab72493908f2ca25dd9.tar.bz2
gh-109721: Guard `_testinternalcapi` imports in tests (GH-109722)
Diffstat (limited to 'Lib/test/test_cmd_line.py')
-rw-r--r--Lib/test/test_cmd_line.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/Lib/test/test_cmd_line.py b/Lib/test/test_cmd_line.py
index e88b7c8..f4754db 100644
--- a/Lib/test/test_cmd_line.py
+++ b/Lib/test/test_cmd_line.py
@@ -799,6 +799,7 @@ class CmdLineTest(unittest.TestCase):
self.assertEqual(proc.stdout.rstrip(), name)
self.assertEqual(proc.returncode, 0)
+ @support.cpython_only
def test_pythonmalloc(self):
# Test the PYTHONMALLOC environment variable
pymalloc = support.with_pymalloc()