Skip to content

Commit

Permalink
fixed by comment
Browse files Browse the repository at this point in the history
  • Loading branch information
Vitaly-Protasov committed Jul 17, 2020
1 parent 920e314 commit ba6f80a
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions test/integration/all.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,8 @@
pattern['make']().value(path_to_file)
except Exception as e:
print(
"Error apply the pattern:",
pattern['name'],
pattern['code'],
"to file",
filename,
f"Error in application of the pattern: {pattern['name']} \
with code {pattern['code']} for file {filename}",
f'\nReason: {e}',
)
sys.exit(1)
Expand All @@ -37,11 +34,8 @@
metric['make']().value(path_to_file)
except Exception as e:
print(
"Error apply the metric:",
metric['name'],
metric['code'],
"to file",
filename,
f"Error in application of the metric: {metric['name']} \
with code {metric['code']} for file {filename}",
f'\nReason: {e}',
)
sys.exit(1)
Expand Down

0 comments on commit ba6f80a

Please sign in to comment.