From 20fd949f409241555e5cf9ecebafa2cd7c99f186 Mon Sep 17 00:00:00 2001 From: Samuel Colvin Date: Fri, 12 Feb 2021 17:59:39 +0000 Subject: [PATCH] allow test_inherited_model_field_untouched to fail --- tests/test_main.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/test_main.py b/tests/test_main.py index 86cafab..e290ba0 100644 --- a/tests/test_main.py +++ b/tests/test_main.py @@ -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"""