We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 998d14a commit 743dfe6Copy full SHA for 743dfe6
1 file changed
tests/test_utils.py
@@ -131,11 +131,11 @@ def test_validate_payload_not_valid_schema():
131
132
133
def test_as_dict():
134
- exc = t.DataError()
+ exc = t.DataError('err')
135
resp = as_dict(exc)
136
assert isinstance(resp, dict)
137
138
139
assert isinstance(exc.as_dict("boom"), str)
140
141
resp = as_dict(exc, 'boom')
0 commit comments