Skip to content

Commit

Permalink
fix: suppress 'E722 do not use bare except' error
Browse files Browse the repository at this point in the history
  • Loading branch information
ssato committed Jan 2, 2018
1 parent 2e0cf55 commit 3660a8d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/schema.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ def test_14_validate__ng_no_safe(self):
try:
_rc = TT.validate({'a': "aaa"}, self.schema, ac_schema_safe=False)
print(_rc) # Should not be reached here...
except:
except Exception:
raised = True

self.assertTrue(raised)
Expand Down

0 comments on commit 3660a8d

Please sign in to comment.