We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eb4d527 commit efc925aCopy full SHA for efc925a
tests/test_generic_patch.py
@@ -24,7 +24,7 @@ class _A(A):
24
def test_generic_patch_works():
25
B = AGenericPatch[int]
26
assert str(B.__name__) == "A[int]"
27
- assert B.__annotations__["wrap_generic"] == int
+ assert B.__annotations__["wrap_generic"] is int
28
assert hasattr(B, "__generic_model__")
29
assert B.__generic_model__ == AGenericPatch
30
assert B == AGenericPatch[int]
0 commit comments