summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_cppext.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/test/test_cppext.py')
-rw-r--r--Lib/test/test_cppext.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Lib/test/test_cppext.py b/Lib/test/test_cppext.py
index 8acf0f1..9ed9061 100644
--- a/Lib/test/test_cppext.py
+++ b/Lib/test/test_cppext.py
@@ -19,6 +19,8 @@ class TestCPPExt(unittest.TestCase):
# With MSVC, the linker fails with: cannot open file 'python311.lib'
# https://github.com/python/cpython/pull/32175#issuecomment-1111175897
@unittest.skipIf(MS_WINDOWS, 'test fails on Windows')
+ # the test uses venv+pip: skip if it's not available
+ @support.requires_venv_with_pip()
def test_build(self):
# Build in a temporary directory
with os_helper.temp_cwd():