From 27b7fb0444fdf3f49ab95b4cbe8d68a56b531230 Mon Sep 17 00:00:00 2001 From: Michael Behrisch Date: Thu, 19 Jan 2023 19:39:39 +0100 Subject: [PATCH] python2 compat #12 #21 --- tests/complex/sumo/envVarSubstitution/runner.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/complex/sumo/envVarSubstitution/runner.py b/tests/complex/sumo/envVarSubstitution/runner.py index 5680ca0fd2df..33e0d3d80af1 100755 --- a/tests/complex/sumo/envVarSubstitution/runner.py +++ b/tests/complex/sumo/envVarSubstitution/runner.py @@ -40,7 +40,7 @@ # file output direct subprocess.call([sumoBinary, "-c", "config.sumocfg"]) -files = list(sorted(os.listdir())) +files = list(sorted(os.listdir("."))) print("uncheck:", files, os.curdir) assert(files[0].endswith(".trips.xml")) assert(int(files[0][:-10]) > 0)