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 bd929fb commit ad415cbCopy full SHA for ad415cb
test-data/unit/check-plugin-attrs.test
@@ -2518,8 +2518,8 @@ class C:
2518
2519
2520
obj = C(1)
2521
-attrs.evolve(obj, x=2) # E: Argument 1 to "evolve" has incompatible type "C"; expected an attrs class
2522
-attrs.evolve(obj, x="2") # E: Argument 1 to "evolve" has incompatible type "C"; expected an attrs class
+attrs.evolve(obj, x=2)
+attrs.evolve(obj, x="2")
2523
[builtins fixtures/plugin_attrs.pyi]
2524
2525
[case testAttrsInitOverload2]
@@ -2542,5 +2542,5 @@ class C:
2542
self.__attrs_init__(x)
2543
2544
2545
2546
0 commit comments