Skip to content

Commit

Permalink
fix: removed level rewrite ...
Browse files Browse the repository at this point in the history
  • Loading branch information
peppelinux committed Jun 7, 2021
1 parent c146669 commit 8278c9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/spid_sp_test/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ def _assert(self, check:bool, error_message:str,
if not check and level == 'info':
self.handle_error(error_message, description, traceback)
else:
level = 'info' if level in ('warning',) else level
# level = 'info' if level in ('warning',) else level
self.handle_result(level, f"{error_message}", description, traceback)

def _assertTrue(self, check, error_message,
Expand Down

0 comments on commit 8278c9c

Please sign in to comment.