File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
conjure_python_client/_serde Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -89,8 +89,8 @@ def check_null_field(
8989 deserialized [python_arg_name ] = {}
9090 else :
9191 raise Exception (
92- "field {} not found in object {} " .format (
93- field_definition .identifier , obj
92+ "field {} not found in the object " .format (
93+ field_definition .identifier
9494 )
9595 )
9696
Original file line number Diff line number Diff line change @@ -59,7 +59,7 @@ def test_object_with_missing_field_should_throw_helpful_exception():
5959 ConjureDecoder ().read_from_string (
6060 """{"path": "bar", "redundant": 1}""" , CreateDatasetRequest
6161 )
62- message_regex = re .compile ("field fileSystemId not found in object {.+} " )
62+ message_regex = re .compile ("field fileSystemId not found in the object " )
6363 assert message_regex .match (str (excinfo .value )), excinfo .value
6464
6565
You can’t perform that action at this time.
0 commit comments