Skip to content

Commit b9503ad

Browse files
committed
Yes, this test was also wrong
1 parent 39138a7 commit b9503ad

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-dataclass-transform.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ class Foo:
265265

266266
Foo(a=5, b_=1) # E: Unexpected keyword argument "a" for "Foo"
267267
Foo(a_=1, b_=1, noinit=1) # E: Unexpected keyword argument "noinit" for "Foo"
268-
Foo(1, 2, 3) # E: Too many positional arguments for "Foo"
268+
Foo(1, 2, 3) # (a, b, unused1)
269269
foo = Foo(1, 2, kwonly=3)
270270
reveal_type(foo.noinit) # N: Revealed type is "builtins.int"
271271
reveal_type(foo.unused1) # N: Revealed type is "builtins.int"

0 commit comments

Comments
 (0)