Skip to content
Snippets Groups Projects
Verified Commit 7c16745d authored by Björn Ludwig's avatar Björn Ludwig
Browse files

refactor(test_examples): blacken

parent 27a46ae5
No related branches found
No related tags found
No related merge requests found
Pipeline #16286 passed
......@@ -14,9 +14,7 @@ from lp_nn_robustness_verification.examples.solve_one_instance import optimize
@pytest.fixture(scope="module")
def file_deleter() -> Callable[[tuple[str, ...]], None]:
def deleter(endings: tuple[str, ...]) -> None:
for file in chain(
*(glob(f"*{ending}") for ending in endings)
):
for file in chain(*(glob(f"*{ending}") for ending in endings)):
try:
os.remove(file)
except FileNotFoundError:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment