Commit 8b517613

stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
2024-10-18 01:40:28
chore(internal): update test syntax (#1798)
1 parent fc4fce3
Changed files (1)
tests/test_models.py
@@ -245,7 +245,7 @@ def test_nested_union_of_mixed_types() -> None:
     assert m.foo is True
 
     m = Model.construct(foo="CARD_HOLDER")
-    assert m.foo is "CARD_HOLDER"
+    assert m.foo == "CARD_HOLDER"
 
     m = Model.construct(foo={"bar": False})
     assert isinstance(m.foo, Submodel1)