From 62cf9776b688e447269a9e7789477e7e35c6845d Mon Sep 17 00:00:00 2001 From: Michael Behrisch Date: Sat, 11 Nov 2023 14:30:43 +0100 Subject: [PATCH] simplifying test #12 --- .../complex/traci/bugs/ticket11215/runner.py | 19 ++++++------------- 1 file changed, 6 insertions(+), 13 deletions(-) diff --git a/tests/complex/traci/bugs/ticket11215/runner.py b/tests/complex/traci/bugs/ticket11215/runner.py index 955d15c54141..de023dc7113e 100644 --- a/tests/complex/traci/bugs/ticket11215/runner.py +++ b/tests/complex/traci/bugs/ticket11215/runner.py @@ -37,21 +37,14 @@ if d not in ('gui', 'simulation'): print(d) dom.getIDList() - except traci.TraCIException as e: - pass except traci.FatalTraCIError as e: print("Error as expected.") traci.start([sumoBinary, "-c", "sumo.sumocfg"]) for dom in traci.DOMAINS: - try: - d = str(dom).replace("