diff --git a/tests/test_additional_properties.py b/tests/test_additional_properties.py index c88c450..18bacf5 100644 --- a/tests/test_additional_properties.py +++ b/tests/test_additional_properties.py @@ -102,17 +102,3 @@ class Meta: dumped["definitions"]["TestSchema"]["additionalProperties"] == additional_properties ) - - -def test_additional_properties_unknown_invalid_value(): - class TestSchema(Schema): - class Meta: - unknown = "foo" - - foo = fields.Integer() - - schema = TestSchema() - json_schema = JSONSchema() - - with pytest.raises(UnsupportedValueError): - json_schema.dump(schema)