From bd897513f28d197ce7981a22ee6c22b00143ab84 Mon Sep 17 00:00:00 2001 From: Bruno Oliveira Date: Fri, 19 Nov 2021 11:22:08 -0300 Subject: [PATCH] Skip TestPyCacheDir.test_sys_pycache_prefix_integration on Windows + Python 3.9 Related to #9298 --- testing/test_assertrewrite.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/testing/test_assertrewrite.py b/testing/test_assertrewrite.py index 9a01fa9ed..61f5760e7 100644 --- a/testing/test_assertrewrite.py +++ b/testing/test_assertrewrite.py @@ -1729,6 +1729,10 @@ class TestPyCacheDir: @pytest.mark.skipif( sys.version_info < (3, 8), reason="pycache_prefix not available in py<38" ) + @pytest.mark.skipif( + sys.version_info[:2] == (3, 9) and sys.platform.startswith("win"), + reason="#9298", + ) def test_sys_pycache_prefix_integration( self, tmp_path, monkeypatch, pytester: Pytester ) -> None: