@@ -18,21 +18,21 @@ file:1: error: Invalid syntax
18181
1919 2
2020[out]
21- file:2: error: unexpected indent
21+ file:2: error: Unexpected indent
2222
2323[case testInconsistentIndent]
2424if x:
2525 1
2626 1
2727[out]
28- file:3: error: unexpected indent
28+ file:3: error: Unexpected indent
2929
3030[case testInconsistentIndent2]
3131if x:
3232 1
3333 1
3434[out]
35- file:3: error: unindent does not match any outer indentation level
35+ file:3: error: Unindent does not match any outer indentation level
3636
3737[case testInvalidBinaryOp]
38381>
@@ -55,17 +55,17 @@ file:1: error: Invalid syntax
5555[case testUnexpectedEof]
5656if 1:
5757[out]
58- file:1: error: expected an indented block
58+ file:1: error: Expected an indented block
5959
6060[case testInvalidKeywordArguments1]
6161f(x=y, z)
6262[out]
63- file:1: error: positional argument follows keyword argument
63+ file:1: error: Positional argument follows keyword argument
6464
6565[case testInvalidKeywordArguments2]
6666f(**x, y)
6767[out]
68- file:1: error: positional argument follows keyword argument unpacking
68+ file:1: error: Positional argument follows keyword argument unpacking
6969
7070[case testInvalidBareAsteriskAndVarArgs2]
7171def f(*x: A, *) -> None: pass
@@ -80,22 +80,22 @@ file:1: error: Invalid syntax
8080[case testInvalidBareAsteriskAndVarArgs4]
8181def f(*, **x: A) -> None: pass
8282[out]
83- file:1: error: named arguments must follow bare *
83+ file:1: error: Named arguments must follow bare *
8484
8585[case testInvalidBareAsterisk1]
8686def f(*) -> None: pass
8787[out]
88- file:1: error: named arguments must follow bare *
88+ file:1: error: Named arguments must follow bare *
8989
9090[case testInvalidBareAsterisk2]
9191def f(x, *) -> None: pass
9292[out]
93- file:1: error: named arguments must follow bare *
93+ file:1: error: Named arguments must follow bare *
9494
9595[case testInvalidFuncDefArgs1]
9696def f(x = y, x): pass
9797[out]
98- file:1: error: non -default argument follows default argument
98+ file:1: error: Non -default argument follows default argument
9999
100100[case testInvalidFuncDefArgs3]
101101def f(**x, y):
@@ -154,7 +154,7 @@ file:2: error: Syntax error in type comment "A B"
154154[case testMissingBracket]
155155def foo(
156156[out]
157- file:1: error: unexpected EOF while parsing
157+ file:1: error: Unexpected EOF while parsing
158158[out version>=3.10]
159159file:1: error: '(' was never closed
160160
@@ -362,48 +362,48 @@ file:1: error: Invalid syntax
362362[case testParseErrorInExtendedSlicing]
363363x[:,
364364[out]
365- file:1: error: unexpected EOF while parsing
365+ file:1: error: Unexpected EOF while parsing
366366
367367[case testParseErrorInExtendedSlicing2]
368368x[:,::
369369[out]
370- file:1: error: unexpected EOF while parsing
370+ file:1: error: Unexpected EOF while parsing
371371
372372[case testParseErrorInExtendedSlicing3]
373373x[:,:
374374[out]
375- file:1: error: unexpected EOF while parsing
375+ file:1: error: Unexpected EOF while parsing
376376
377377[case testInvalidEncoding]
378378# foo
379379# coding: uft-8
380380[out]
381- file:0: error: unknown encoding: uft-8
381+ file:0: error: Unknown encoding: uft-8
382382
383383[case testInvalidEncoding2]
384384# coding=Uft.8
385385[out]
386- file:0: error: unknown encoding: Uft.8
386+ file:0: error: Unknown encoding: Uft.8
387387
388388[case testInvalidEncoding3]
389389#!/usr/bin python
390390# vim: set fileencoding=uft8 :
391391[out]
392- file:0: error: unknown encoding: uft8
392+ file:0: error: Unknown encoding: uft8
393393
394394[case testDoubleEncoding]
395395# coding: uft8
396396# coding: utf8
397397# The first coding cookie should be used and fail.
398398[out]
399- file:0: error: unknown encoding: uft8
399+ file:0: error: Unknown encoding: uft8
400400
401401[case testDoubleEncoding2]
402402# Again the first cookie should be used and fail.
403403# coding: uft8
404404# coding: utf8
405405[out]
406- file:0: error: unknown encoding: uft8
406+ file:0: error: Unknown encoding: uft8
407407
408408[case testLongLiteralInPython3]
4094092L
@@ -434,7 +434,7 @@ file:1: error: Invalid syntax
434434[case testSmartQuotes]
435435foo = ‘bar’
436436[out]
437- file:1: error: invalid character '‘' (U+2018)
437+ file:1: error: Invalid character '‘' (U+2018)
438438
439439[case testExceptCommaInPython3]
440440try:
0 commit comments