Skip to content

Commit 34c8c94

Browse files
committed
another test
1 parent cf756d1 commit 34c8c94

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

test-data/unit/check-attr.test

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1898,6 +1898,7 @@ c = attr.evolve(c, foobar=42) # E: Unexpected keyword argument "foobar" for "ev
18981898

18991899
# test passing instance as 'inst' kw
19001900
c = attr.evolve(inst=c, name='foo')
1901+
c = attr.evolve(not_inst=c, name='foo') # E: Missing positional argument "inst" in call to "evolve"
19011902

19021903
# test determining type of first argument's expression from something that's not NameExpr
19031904
def f() -> C:

0 commit comments

Comments
 (0)