diff --git a/tests/io/vasp/test_outputs.py b/tests/io/vasp/test_outputs.py index 9fd7c5f88a2..126d46191f2 100644 --- a/tests/io/vasp/test_outputs.py +++ b/tests/io/vasp/test_outputs.py @@ -78,7 +78,7 @@ def test_vasprun_ediffg_set_to_0(self): # Test for case where EDIFFG is set to 0. # This should pass if all ionic steps complete and # are electronically converged. - print([cur_path for cur_path in os.walk(VASP_OUT_DIR)]) + print(list(os.walk(VASP_OUT_DIR))) vasp_run = Vasprun(f"{VASP_OUT_DIR}/vasprun.ediffg_set_to_0.xml.gz") assert len(vasp_run.ionic_steps) == 3 assert vasp_run.final_energy == approx(-34.60164204)