[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
This commit is contained in:
parent
8cf1065acd
commit
8da67a3bc7
|
@ -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:])
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue