Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit d3098dd

Browse files
stainless-app[bot]stainless-bot
authored andcommittedOct 17, 2024·
chore(internal): update test syntax (#1798)
1 parent fc4fce3 commit d3098dd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎tests/test_models.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ class Model(BaseModel):
245245
assert m.foo is True
246246

247247
m = Model.construct(foo="CARD_HOLDER")
248-
assert m.foo is "CARD_HOLDER"
248+
assert m.foo == "CARD_HOLDER"
249249

250250
m = Model.construct(foo={"bar": False})
251251
assert isinstance(m.foo, Submodel1)

0 commit comments

Comments
 (0)
Please sign in to comment.