From 24df805252e97829d2b541b6034ca115a8922714 Mon Sep 17 00:00:00 2001 From: Morten Kristensen Date: Sat, 17 Jun 2023 09:00:50 +0200 Subject: [PATCH] Skip test case on Windows because Python doesn't yield the ValueError --- tests/general.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/tests/general.py b/tests/general.py index 2ffe87e3..65ea0204 100644 --- a/tests/general.py +++ b/tests/general.py @@ -811,6 +811,9 @@ def test_process_syntax_error(self): self.assertEmpty(proc_res.text) self.assertEmpty(proc_res.bps) + # This test is ignored on Windows for now because it does not yield the value error that other + # platforms do. + @VerminTest.skipPlatform("win32") def test_process_value_error(self): # (Py3) ValueError: source code string cannot contain null bytes # (Py2) TypeError: compile() expected string without null bytes