========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================= test session starts ==========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
platform linux -- Python 3.10.12, pytest-9.0.3, pluggy-1.6.0
rootdir: /workspace/marshmallow
configfile: pyproject.toml
plugins: anyio-4.13.0, metadata-3.1.1, json-report-1.5.0, cov-7.1.0
collected 1229 items

tests/test_decorators.py ...............FF..F.F.....F.F......                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [  2%]
tests/test_deserialization.py .........................................................F......F..............F.....F...............................................................F...FFF...................F.F........F..F......F......F.......F.......F.......F.......F.....F.............................................F...................................F.FF...........................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 [ 33%]
tests/test_error_store.py .............................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [ 35%]
tests/test_exceptions.py .....FF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 [ 35%]
tests/test_fields.py ......................................................................................................................................................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [ 49%]
tests/test_options.py ..FF...........                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [ 50%]
tests/test_registry.py ..........                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [ 51%]
tests/test_schema.py ..................F....................FFFFFFF........F.............................F.................................F......FF.FF.FF.....F.F.............FFF.........F..................FF.......F..............FFF..F........................F.....F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [ 71%]
tests/test_serialization.py ............F.................F.F............F...F......................................................................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [ 82%]
tests/test_utils.py ....................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         [ 85%]
tests/test_validate.py .................................................................................................................................................................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         [ 99%]
tests/test_version_attributes.py .                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               [100%]

=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAILURES ===============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ TestValidatesSchemaDecorator.test_validator_nested_many_invalid_data ____________________________________________________________________________________________________________________________________________________________________________________________________<response clipped><NOTE>Due to the max output limit, only part of the full response has been shown to you.</NOTE>_____________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
tests/test_serialization.py:507: in test_method_field_with_uncallable_attribute
    with pytest.raises(TypeError):
E   Failed: DID NOT RAISE <class 'TypeError'>
_________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ TestFieldSerialization.test_serialize_with_data_key_as_empty_string __________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________
tests/test_serialization.py:541: in test_serialize_with_data_key_as_empty_string
    assert schema.dump({"name": "Grace"}) == {"": "Grace"}
E   AssertionError: assert {'name': 'Grace'} == {'': 'Grace'}
E
E     Left contains 1 more item:
E     {'name': 'Grace'}
E     Right contains 1 more item:
E     {'': 'Grace'}
E     Use -v to get more diff
======================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================= short test summary info ========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
FAILED tests/test_decorators.py::TestValidatesSchemaDecorator::test_validator_nested_many_invalid_data - AssertionError: assert ['Invalid input type.'] == {'_schema': [...input type.']}
FAILED tests/test_decorators.py::TestValidatesSchemaDecorator::test_validator_nested_many_schema_error - AssertionError: assert ['This will never work.'] == {'_schema': [...never work.']}
FAILED tests/test_decorators.py::TestValidatesSchemaDecorator::test_validator_nested_many_pass_original_and_pass_many[False-expected_data1-expected_original_data1-data0] - TypeError: list indices must be integers or slices, not str
FAILED tests/test_decorators.py::TestValidatesSchemaDecorator::test_multiple_validators - AssertionError: assert '_schema' in ['bar must not be negative', 'Must be greater than 3']
FAILED tests/test_decorators.py::test_decorator_error_handling - AssertionError: assert 'foo' in {'_schema': {'bar': ['postloadmsg2', 'postloadmsg3'], 'foo': ['postloadmsg1']}}
FAILED tests/test_decorators.py::test_decorator_error_handling_with_load[post_load] - AssertionError: assert {'_schema': {'foo': 'error'}} == {'foo': 'error'}
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_float_field_overflow - OverflowError: int too large to convert to float
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_decimal_field_special_values - AssertionError: assert (True and not True)
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_boolean_field_deserialization - TypeError: unhashable type: 'dict'
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_field_toggle_show_invalid_value_in_error_message - KeyError: 'input'
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_custom_time_format_time_field_deserialization - assert datetime.datetime(1900, 1, 1, 10, 11, 12, 123456) == datetime.time(10, 11, 12, 123456)
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_iso_time_field_deserialization[01:23:45+01:00-expected1-iso] - marshmallow.exceptions.ValidationError: Not a valid time.
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_iso_time_field_deserialization[01:23:45+01:00-expected1-iso8601] - marshmallow.exceptions.ValidationError: Not a valid time.
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_iso_time_field_deserialization[01:23:45+01:00-expected1-None] - marshmallow.exceptions.ValidationError: Not a valid time.
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_structured_dict_value_deserialization - AssertionError: assert {'ham': ['spam']} == {'foo': [], 'ham': ['spam']}
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_structured_dict_key_value_deserialization - AssertionError: assert {1: {'key': [...id string.']}} == {1: {'key': [...id number.']}}
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_function_field_deserialization_with_context - KeyError: 'key'
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_uuid_field_deserialization - marshmallow.exceptions.ValidationError: Not a valid UUID.
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_invalid_ip_deserialization[123] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_invalid_ipv4_deserialization[123] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_invalid_ipinterface_deserialization[123] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_invalid_ipv4interface_deserialization[123] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_invalid_ipv6interface_deserialization[123] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_enum_field_by_symbol_not_string - AssertionError: Regex pattern did not match.
FAILED tests/test_deserialization.py::TestFieldDeserialization::test_enum_field_by_value_field_wrong_type - AssertionError: Regex pattern did not match.
FAILED tests/test_deserialization.py::TestSchemaDeserialization::test_deserialize_with_data_key_as_empty_string - marshmallow.exceptions.ValidationError: {'': ['Unknown field.']}
FAILED tests/test_deserialization.py::TestValidation::test_nested_data_is_stored_when_validation_fails - AssertionError: assert {'w': 90} == {'n': {'x': 9... 89}, 'w': 90}
FAILED tests/test_deserialization.py::TestValidation::test_nested_partial_load - KeyError: 'z'
FAILED tests/test_deserialization.py::TestValidation::test_deeply_nested_partial_load - KeyError: 'b'
FAILED tests/test_exceptions.py::TestValidationError::test_stores_dictionaries_in_messages_dict - AttributeError: 'ValidationError' object has no attribute 'messages_dict'
FAILED tests/test_exceptions.py::TestValidationError::test_messages_dict_type_error_on_badval - AttributeError: 'ValidationError' object has no attribute 'messages_dict'
FAILED tests/test_options.py::TestFieldOrdering::test_ordered_option_is_inherited[False] - AttributeError: 'ChildOrderedSchema' object has no attribute 'dict_class'. Did you mean: 'set_class'?
FAILED tests/test_options.py::TestFieldOrdering::test_ordered_option_is_inherited[True] - AttributeError: 'ChildOrderedSchema' object has no attribute 'dict_class'. Did you mean: 'set_class'?
FAILED tests/test_schema.py::test_dumps_many - AssertionError: assert {'activation_...3-01-23', ...} == {'activation_...3-01-23', ...}
FAILED tests/test_schema.py::test_load_many_in_nested_invalid_input_type[False] - AssertionError: assert {'list1': ['N...nput type.']}} == {'list1': ['N...valid type.']}
FAILED tests/test_schema.py::test_load_many_in_nested_invalid_input_type[1] - AssertionError: assert {'list1': ['N...nput type.']}} == {'list1': ['N...valid type.']}
FAILED tests/test_schema.py::test_load_many_in_nested_invalid_input_type[1.2] - AssertionError: assert {'list1': ['N...nput type.']}} == {'list1': ['N...valid type.']}
FAILED tests/test_schema.py::test_load_many_in_nested_invalid_input_type[val3] - AssertionError: assert {'list1': ['N...nput type.']}} == {'list1': ['N...valid type.']}
FAILED tests/test_schema.py::test_load_many_in_nested_invalid_input_type[val4] - AssertionError: assert {'list1': ['N...nput type.']}} == {'list1': ['N...valid type.']}
FAILED tests/test_schema.py::test_load_many_in_nested_invalid_input_type[val5] - AssertionError: assert {'list1': ['N...nput type.']}} == {'list1': ['N...valid type.']}
FAILED tests/test_schema.py::test_load_many_in_nested_invalid_input_type[lol] - AssertionError: assert {'list1': ['N...nput type.']}} == {'list1': ['N...valid type.']}
FAILED tests/test_schema.py::test_nested_on_bind_field_hook - KeyError: 'fname'
FAILED tests/test_schema.py::test_fields_must_be_declared_as_instances - Failed: DID NOT RAISE <class 'TypeError'>
FAILED tests/test_schema.py::test_nested_instance_many - AssertionError: assert {} == [{'id': 1, 't...Second book'}]
FAILED tests/test_schema.py::test_data_key_collision[f1] - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_data_key_collision[f5] - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_attribute_collision[f1] - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_attribute_collision[f5] - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::TestDeeplyNestedLoadOnly::test_load_only - AssertionError: assert 'str_load_only' not in {'str_dump_only': 'Dump Only', 'str_load_only': 'Load Only', 'str_regular': 'Regular String'}
FAILED tests/test_schema.py::TestDeeplyNestedLoadOnly::test_dump_only - AssertionError: assert 'str_dump_only' not in {'str_dump_only': 'Dump Only', 'str_load_only': 'Load Only', 'str_regular': 'Regular String'}
FAILED tests/test_schema.py::test_invalid_only_and_exclude_with_fields - assert 'ban' in "Invalid fields for <MySchema(many=False)>: OrderedSet(['foo', 'par'])."
FAILED tests/test_schema.py::test_invalid_only_and_exclude_with_additional - assert 'ban' in "Invalid fields for <MySchema(many=False)>: OrderedSet(['foop', 'par'])."
FAILED tests/test_schema.py::test_datetimeformat_option - AssertionError: assert '2013-11-10T14:20:58' == '2013-11'
FAILED tests/test_schema.py::test_dateformat_option - AssertionError: assert '2013-12-11' == '2013-12'
FAILED tests/test_schema.py::test_timeformat_option - AssertionError: assert '01:23:45.006789' == '01:23:45'
FAILED tests/test_schema.py::TestFieldValidation::test_ignored_if_not_in_only - ValueError: "a" field does not exist.
FAILED tests/test_schema.py::TestNestedSchema::test_invalid_type_passed_to_nested_field - AssertionError: assert {'_schema': [...input type.']} == ['Invalid type.']
FAILED tests/test_schema.py::TestNestedSchema::test_all_errors_on_many_nested_field_with_validates_decorator - AssertionError: assert '_schema' in {0: {'req': ['Missing data for required field.']}}
FAILED tests/test_schema.py::TestPluckSchema::test_pluck_with_data_key - AssertionError: assert None == 'Monty'
FAILED tests/test_schema.py::TestContext::test_context_method - TypeError: UserContextSchema.<lambda>() missing 1 required positional argument: 'ctx'
FAILED tests/test_schema.py::TestContext::test_context_method_function - TypeError: UserContextSchema.<lambda>() missing 1 required positional argument: 'ctx'
FAILED tests/test_schema.py::TestContext::test_function_field_raises_error_when_context_not_available - TypeError: TestContext.test_function_field_raises_error_when_context_not_available.<locals>.UserFunctionContextSchema.<lambda>() missing 1 required positional argument: 'ctx'
FAILED tests/test_schema.py::TestContext::test_nested_fields_inherit_context - TypeError: TestContext.test_nested_fields_inherit_context.<locals>.InnerSchema.<lambda>() missing 1 required positional argument: 'ctx'
FAILED tests/test_schema.py::TestFromDict::test_meta_options_are_applied - AssertionError: assert 'bar' not in OrderedDict([('foo', 42), ('bar', 24)])
FAILED tests/test_schema.py::test_set_dict_class[OrderedDict] - AssertionError: assert False
FAILED tests/test_serialization.py::TestFieldSerialization::test_function_field_passed_serialize_with_context - KeyError: 'key'
FAILED tests/test_serialization.py::TestFieldSerialization::test_decimal_field_special_values - AssertionError: assert (True and not True)
FAILED tests/test_serialization.py::TestFieldSerialization::test_decimal_field_fixed_point_representation - AssertionError: assert '1.00000000E-9' == '0.00000000100000000'
FAILED tests/test_serialization.py::TestFieldSerialization::test_method_field_with_uncallable_attribute - Failed: DID NOT RAISE <class 'TypeError'>
FAILED tests/test_serialization.py::TestFieldSerialization::test_serialize_with_data_key_as_empty_string - AssertionError: assert {'name': 'Grace'} == {'': 'Grace'}
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== 70 failed, 1159 passed in 4.19s ====================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
[The command completed with exit code 1.]
[Current working directory: /workspace/marshmallow]
[Python interpreter: /usr/bin/python]
[Command finished with exit code 1]