Skip to content

Commit feab654

Browse files
committed
Fix test
1 parent 6ef4a63 commit feab654

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-attr.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ class D:
151151
[case testAttrsNotBooleans]
152152
import attr
153153
x = True
154-
@attr.s(cmp=1) # E: "cmp" argument must be True or False.
154+
@attr.s(cmp=x) # E: "cmp" argument must be True or False.
155155
class A:
156156
a = attr.ib(init=x) # E: "init" argument must be True or False.
157157
[builtins fixtures/bool.pyi]

0 commit comments

Comments
 (0)