========================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================= 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 ...........F...FF..F.F.....F.F......                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    [  2%]
tests/test_deserialization.py .........................................................F......F..............F.....F...............................................................F...FFF...................FFF........F..F......F......F.......F.......F.......F.......F.....F.......F....FF...............................F...................................F.FFF..........................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 [ 33%]
tests/test_error_store.py .............................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                          [ 35%]
tests/test_exceptions.py .....FF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 [ 35%]
tests/test_fields.py ........F....FF..FFFF...............................................FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF..........F....................FF..F..F..FFFFFFFFFFF                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [ 49%]
tests/test_options.py ..FF...........                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            [ 50%]
tests/test_registry.py ..........                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                [ 51%]
tests/test_schema.py .........FFFF..F..F....................FFFFFFF........F.......F.....................F..........F......................F......FF.FF.FFFF...F.FFFF......F...FFF.........F..................FF.......F..............FFF..F.F......................F.....F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                      [ 71%]
tests/test_serialization.py ............F.................F.F............F...F......................................................................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                             [ 82%]
tests/test_utils.py ....................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         [ 85%]
tests/test_validate.py .................................FF.........FFF...........................................................F...............................FF...F............F.F....F.....FFFFFFF.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                         [ 99%]
tests/test_version_attributes.py F                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               [100%]

=============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== FAILURES ===============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
___________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________________ TestValidatesDecorator.test_validates_decorator _______________________________________________________________________________________________________________________________________________________________________________________________________________<response clipped><NOTE>Due to the max output limit, only part of the full response has been shown to you.</NOTE>DeprecationWarning'>,) were emitted.
FAILED tests/test_fields.py::TestDeprecatedDefaultAndMissing::test_dump_default_in_deprecated_style_warns[IPv4Interface] - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
FAILED tests/test_fields.py::TestDeprecatedDefaultAndMissing::test_dump_default_in_deprecated_style_warns[IPv6Interface] - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
FAILED tests/test_fields.py::TestDeprecatedDefaultAndMissing::test_dump_default_in_deprecated_style_warns[FieldClass20] - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
FAILED tests/test_fields.py::TestDeprecatedDefaultAndMissing::test_dump_default_in_deprecated_style_warns[FieldClass21] - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
FAILED tests/test_fields.py::TestDeprecatedDefaultAndMissing::test_dump_default_in_deprecated_style_warns[FieldClass22] - Failed: DID NOT WARN. No warnings of type (<class 'DeprecationWarning'>,) were emitted.
FAILED tests/test_fields.py::TestErrorMessages::test_make_error_key_doesnt_exist - AssertionError: assert 'MyField' in 'Unknown error key: doesntexist'
FAILED tests/test_fields.py::TestListNested::test_list_nested_only_exclude_dump_only_load_only_propagated_to_nested[dump_only] - AssertionError: assert set() == {'name'}
FAILED tests/test_fields.py::TestListNested::test_list_nested_only_exclude_dump_only_load_only_propagated_to_nested[load_only] - AssertionError: assert set() == {'name'}
FAILED tests/test_fields.py::TestListNested::test_list_nested_class_multiple_dumps - AssertionError: assert {'children': [{'age': 15}]} == {'children': ...me': 'Lily'}]}
FAILED tests/test_fields.py::TestListNested::test_list_nested_instance_multiple_dumps - AssertionError: assert {'children': [{'age': 15}]} == {'children': ...me': 'Lily'}]}
FAILED tests/test_fields.py::TestListNested::test_list_nested_partial_propagated_to_nested - marshmallow.exceptions.ValidationError: {'children': {0: {'age': ['Missing data for required field.']}}}
FAILED tests/test_fields.py::TestTupleNested::test_tuple_nested_only_exclude_dump_only_load_only_propagated_to_nested[dump_only] - AssertionError: assert set() == {'name'}
FAILED tests/test_fields.py::TestTupleNested::test_tuple_nested_only_exclude_dump_only_load_only_propagated_to_nested[load_only] - AssertionError: assert set() == {'name'}
FAILED tests/test_fields.py::TestTupleNested::test_tuple_nested_partial_propagated_to_nested - marshmallow.exceptions.ValidationError: {'children': {'age': ['Missing data for required field.']}}
FAILED tests/test_fields.py::TestDictNested::test_dict_nested_only_exclude_dump_only_load_only_propagated_to_nested[only] - AssertionError: assert None == {'name'}
FAILED tests/test_fields.py::TestDictNested::test_dict_nested_only_exclude_dump_only_load_only_propagated_to_nested[exclude] - AssertionError: assert set() == {'name'}
FAILED tests/test_fields.py::TestDictNested::test_dict_nested_only_exclude_dump_only_load_only_propagated_to_nested[dump_only] - AssertionError: assert set() == {'name'}
FAILED tests/test_fields.py::TestDictNested::test_dict_nested_only_exclude_dump_only_load_only_propagated_to_nested[load_only] - AssertionError: assert set() == {'name'}
FAILED tests/test_fields.py::TestDictNested::test_dict_nested_only_and_exclude_merged_with_nested[only-expected0] - AssertionError: assert ('name', 'surname') == {'name'}
FAILED tests/test_fields.py::TestDictNested::test_dict_nested_only_and_exclude_merged_with_nested[exclude-expected1] - AssertionError: assert ('name', 'surname') == {'age', 'name', 'surname'}
FAILED tests/test_fields.py::TestDictNested::test_dict_nested_partial_propagated_to_nested - marshmallow.exceptions.ValidationError: {'children': {'age': ['Missing data for required field.']}}
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_boolean_can_dump_unhashable[value0] - TypeError: unhashable type: 'list'
FAILED tests/test_schema.py::test_boolean_can_dump_unhashable[value1] - TypeError: unhashable type: 'dict'
FAILED tests/test_schema.py::test_boolean_can_dump_unhashable[value2] - TypeError: unhashable type: 'list'
FAILED tests/test_schema.py::test_boolean_can_dump_unhashable[value3] - TypeError: unhashable type: 'dict'
FAILED tests/test_schema.py::test_dumps_returns_a_string - TypeError: Object of type Decimal is not JSON serializable
FAILED tests/test_schema.py::test_dumps_many - TypeError: Object of type Decimal is not JSON serializable
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_dumps_returns_json - TypeError: Object of type Decimal is not JSON serializable
FAILED tests/test_schema.py::test_fields_must_be_declared_as_instances - Failed: DID NOT RAISE <class 'TypeError'>
FAILED tests/test_schema.py::test_invalid_only_param - Failed: DID NOT RAISE <class 'ValueError'>
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 {'grand_child': {'str_dump_only': 'Dump Only', 'str_load_only': 'Load Only', 'str_regular': 'Regular String'}, '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 {'grand_child': {'str_dump_only': 'Dump Only', 'str_load_only': 'Load Only', 'str_regular': 'Regular String'}, 'str_dump_only': 'Dump Only', 'str_load_only': 'Load Only', 'str_regular': 'Regular String'}
FAILED tests/test_schema.py::TestDeeplyNestedListLoadOnly::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::TestDeeplyNestedListLoadOnly::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 - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_invalid_only_and_exclude_with_additional - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_exclude_invalid_attribute - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_only_bounded_by_fields - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_only_bounded_by_additional - Failed: DID NOT RAISE <class 'ValueError'>
FAILED tests/test_schema.py::test_meta_field_not_on_obj_raises_attribute_error - Failed: DID NOT RAISE <class 'ValueError'>
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::TestContext::test_nested_dict_fields_inherit_context - marshmallow.exceptions.ValidationError: {'bars': {'foo': ['Missing context']}}
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'}
FAILED tests/test_validate.py::test_url_absolute_invalid[http://2001:db8::ff00:42:8329] - ValueError: Port could not be cast to integer value as 'db8::ff00:42:8329'
FAILED tests/test_validate.py::test_url_absolute_invalid[http://[192.168.1.1]:8329] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_validate.py::test_url_absolute_invalid[http://^@example.com] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_validate.py::test_url_absolute_invalid[http://%0G@example.com] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_validate.py::test_url_absolute_invalid[http://%@example.com] - Failed: DID NOT RAISE <class 'marshmallow.exceptions.ValidationError'>
FAILED tests/test_validate.py::test_url_repr - assert "<URL(relativ...valid URL.')>" == "<URL(relativ...valid URL.')>"
FAILED tests/test_validate.py::test_range_custom_message - AssertionError: Regex pattern did not match.
FAILED tests/test_validate.py::test_range_repr - AssertionError: assert '<Range(min=N... error=None)>' == '<Range(min=N... error=None)>'
FAILED tests/test_validate.py::test_length_custom_message - AssertionError: Regex pattern did not match.
FAILED tests/test_validate.py::test_noneof_custom_message - KeyError: 'values'
FAILED tests/test_validate.py::test_oneof - AssertionError: Regex pattern did not match.
FAILED tests/test_validate.py::test_containsonly_in_list - AssertionError: Regex pattern did not match.
FAILED tests/test_validate.py::test_containsnoneof_error_message - KeyError: 'values'
FAILED tests/test_validate.py::test_containsnoneof_in_list - KeyError: 'values'
FAILED tests/test_validate.py::test_containsnoneof_unhashable_types - KeyError: 'values'
FAILED tests/test_validate.py::test_containsnoneof_in_tuple - KeyError: 'values'
FAILED tests/test_validate.py::test_containsnoneof_in_string - KeyError: 'values'
FAILED tests/test_validate.py::test_containsnoneof_custom_message - KeyError: 'values'
FAILED tests/test_validate.py::test_containsnoneof_mixing_types - KeyError: 'values'
FAILED tests/test_version_attributes.py::test_version_attributes_deprecated - importlib.metadata.PackageNotFoundError: No package metadata was found for marshmallow
=================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================== 179 failed, 1050 passed in 7.79s ===================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================
[The command completed with exit code 1.]
[Current working directory: /workspace/marshmallow]
[Python interpreter: /usr/bin/python]
[Command finished with exit code 1]