From 1bb7595c6cf549a832110178933a96fc41e6b17b Mon Sep 17 00:00:00 2001 From: iamashwin99 <ashwin-kumar.karnad@mpsd.mpg.de> Date: Thu, 8 Jun 2023 11:08:13 +0200 Subject: [PATCH] correct the picking of build log in tests --- tests.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests.py b/tests.py index 9276189..fb2103f 100644 --- a/tests.py +++ b/tests.py @@ -294,7 +294,7 @@ def test_install_environment_zlib(): ) assert len(build_log) == 2 # take the most recent build log - build_log = sorted(build_log)[0] + build_log = sorted(build_log)[1] # check that the build log contains statement ##### Installation finished with open(build_log, "r") as f: lines = f.read() -- GitLab