tests.test_sim.SimulatorRegressionTestCase.test_bug_588: fix for Windows paths.

This commit is contained in:
Charlotte 2023-06-22 11:33:20 +10:00 committed by Catherine
parent d218273b9b
commit 63f9976267

View file

@ -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)