diff --git a/tests.py b/tests.py index 9276189dbe12272324696e7d55a31daa14a4dd56..fb2103ffc165991753afe27de19fe2db08939134 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()