Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
L
lp_nn_robustness_verification
Manage
Activity
Members
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Model registry
Analyze
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
ludwig10_masters_thesis
lp_nn_robustness_verification
Commits
7c16745d
Verified
Commit
7c16745d
authored
2 years ago
by
Björn Ludwig
Browse files
Options
Downloads
Patches
Plain Diff
refactor(test_examples): blacken
parent
27a46ae5
No related branches found
No related tags found
No related merge requests found
Pipeline
#16286
passed
2 years ago
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
tests/test_examples.py
+1
-3
1 addition, 3 deletions
tests/test_examples.py
with
1 addition
and
3 deletions
tests/test_examples.py
+
1
−
3
View file @
7c16745d
...
...
@@ -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
:
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment