From 63f997626707a0e55f2885f0c3d3945388c85b98 Mon Sep 17 00:00:00 2001 From: Charlotte Date: Thu, 22 Jun 2023 11:33:20 +1000 Subject: [PATCH] tests.test_sim.SimulatorRegressionTestCase.test_bug_588: fix for Windows paths. --- tests/test_sim.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_sim.py b/tests/test_sim.py index 99fdf96..b5acb45 100644 --- a/tests/test_sim.py +++ b/tests/test_sim.py @@ -905,7 +905,7 @@ class SimulatorRegressionTestCase(FHDLTestCase): z = Signal(32) dut.d.comb += z.eq(a << b) with self.assertRaisesRegex(OverflowError, - r"^Value defined at .+?/test_sim\.py:\d+ is 4294967327 bits wide, " + r"^Value defined at .+?[\\/]test_sim\.py:\d+ is 4294967327 bits wide, " r"which is unlikely to simulate in reasonable time$"): Simulator(dut)