allow test_inherited_model_field_untouched to fail

This commit is contained in:
Samuel Colvin
2021-02-12 17:59:39 +00:00
parent dcc00beaf0
commit 20fd949f40
+1
View File
@@ -1449,6 +1449,7 @@ def test_inherited_model_field_copy():
assert id(image_2) != id(item.images[1])
@pytest.mark.xfail(reason='see https://github.com/samuelcolvin/pydantic/pull/2193#issuecomment-778345456')
def test_inherited_model_field_untouched():
"""It should not copy models used as fields if explicitly asked"""