Skip to content

Commit 2ba0d84

Browse files
committed
set test to desired
1 parent 67d23de commit 2ba0d84

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

test-data/unit/check-errorcodes.test

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -645,7 +645,8 @@ def g() -> int:
645645

646646
'{}'.format(b'abc') # E: If x = b'abc' then f"{x}" or "{}".format(x) produces "b'abc'", not "abc". If this is desired behavior, use f"{x!r}" or "{!r}".format(x). Otherwise, decode the bytes [str-bytes-safe]
647647
'%s' % b'abc' # E: If x = b'abc' then "%s" % x produces "b'abc'", not "abc". If this is desired behavior use "%r" % x. Otherwise, decode the bytes [str-bytes-safe]
648-
'{:>2}'.format(None)
648+
'{:>2}'.format(None) # E: alignment types do not support string formatting [str-format]
649+
649650
[builtins fixtures/primitives.pyi]
650651
[typing fixtures/typing-medium.pyi]
651652

0 commit comments

Comments
 (0)