From 0a6779ff4d05ab573f31dfff21dde47df7b47901 Mon Sep 17 00:00:00 2001 From: Henry Schreiner Date: Fri, 23 Feb 2024 12:56:52 -0500 Subject: [PATCH] tests: restore windows skip --- tests/test_virtualenv.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_virtualenv.py b/tests/test_virtualenv.py index 0d37c937..3d9d53c3 100644 --- a/tests/test_virtualenv.py +++ b/tests/test_virtualenv.py @@ -474,6 +474,7 @@ def test_create_reuse_venv_environment(make_one): assert reused +@pytest.mark.skipif(IS_WINDOWS, reason="Avoid 'No pyvenv.cfg file' error on Windows.") def test_create_reuse_oldstyle_virtualenv_environment(make_one): venv, location = make_one(reuse_existing=True) venv.create() @@ -491,6 +492,7 @@ def test_create_reuse_oldstyle_virtualenv_environment(make_one): assert reused +@pytest.mark.skipif(IS_WINDOWS, reason="Avoid 'No pyvenv.cfg file' error on Windows.") def test_inner_functions_reusing_venv(make_one): venv, location = make_one(reuse_existing=True) venv.create()