diff --git a/run_tests.py b/run_tests.py index 05b99fd1fa..00d413070a 100644 --- a/run_tests.py +++ b/run_tests.py @@ -1,6 +1,6 @@ import subprocess -with open("test_list_new.txt", "r") as file: +with open("test_list_new.txt") as file: tests = [line.strip() for line in file.readlines()] subprocess.run(["pytest", "-v"] + tests[-100:]) diff --git a/test_list_new.txt b/test_list_new.txt index ec56ac5749..1707c88ebd 100644 --- a/test_list_new.txt +++ b/test_list_new.txt @@ -810,4 +810,4 @@ tests/tests_pytorch/core/test_lightning_optimizer.py::test_lightning_optimizer[F tests/tests_pytorch/core/test_lightning_optimizer.py::test_lightning_optimizer_automatic_optimization_optimizer_step tests/tests_pytorch/core/test_lightning_optimizer.py::test_lightning_optimizer[True] tests/tests_pytorch/core/test_lightning_optimizer.py::test_params_groups_and_state_are_accessible -tests/tests_pytorch/core/test_lightning_optimizer.py::test_lightning_optimizer_automatic_optimization_lbfgs_zero_grad \ No newline at end of file +tests/tests_pytorch/core/test_lightning_optimizer.py::test_lightning_optimizer_automatic_optimization_lbfgs_zero_grad