Skip to content

Commit d6c038c

Browse files
committed
Fix merge conflict.
1 parent 6ba8825 commit d6c038c

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

tests/test_homogeneous_collections.py

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -172,3 +172,10 @@ class TestSubModel(BaseXmlModel):
172172

173173
class TestModel(BaseXmlModel):
174174
__root__: List[TestSubModel]
175+
176+
with pytest.raises(errors.ModelFieldError):
177+
class TestSubModel(BaseXmlModel):
178+
attr: int
179+
180+
class TestModel(BaseXmlModel):
181+
text: List[TestSubModel]

0 commit comments

Comments
 (0)