8000 Update test-data/unit/check-errorcodes.test · python/mypy@31977ab · GitHub
[go: up one dir, main page]

Skip to content

Commit 31977ab

Browse files
authored
Update test-data/unit/check-errorcodes.test
1 parent 6267456 commit 31977ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test-data/unit/check-errorcodes.test

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -839,7 +839,7 @@ if good_union:
839839
pass
840840

841841
bad_union: Union[Foo, object] = Foo()
842-
if bad_union: # E: "__main__.bad_union" has type "Union[__main__.Foo, builtins.object]" none of which implement __bool__ or __len__ so it will always be true in boolean context [implicit-bool]
842+
if bad_union: # E: "__main__.bad_union" has type "Union[__main__.Foo, builtins.object]" of which no members implement __bool__ or __len__ so it will always be true in boolean context [implicit-bool]
843843
pass
844844

845845
def f():

0 commit comments

Comments
 (0)
0