[pre-commit.ci] auto fixes from pre-commit.com hooks

for more information, see https://pre-commit.ci
This commit is contained in:
pre-commit-ci[bot] 2024-06-25 18:20:06 +00:00
parent 8cf1065acd
commit 8da67a3bc7
2 changed files with 2 additions and 2 deletions

View File

@ -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:])

View File

@ -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
tests/tests_pytorch/core/test_lightning_optimizer.py::test_lightning_optimizer_automatic_optimization_lbfgs_zero_grad