File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -12,12 +12,7 @@ matrix:
12
12
dist : xenial
13
13
- python : 3.8
14
14
dist : xenial
15
- - python : nightly
16
- dist : xenial
17
- # TODO: https://bugs.python.org/issue40334
18
- # the PEG parser is currently broken in some cases
19
- allow_failures :
20
- - python : nightly
15
+ - python : 3.9-dev
21
16
dist : xenial
22
17
install : pip install tox
23
18
script : tox -e py
Original file line number Diff line number Diff line change @@ -449,8 +449,6 @@ def evaluate(source):
449
449
with self .makeTempFile (source ) as sourcePath :
450
450
if PYPY :
451
451
message = 'end of file (EOF) while scanning triple-quoted string literal'
452
- elif sys .version_info >= (3 , 9 ):
453
- message = 'invalid string prefix'
454
452
else :
455
453
message = 'invalid syntax'
456
454
@@ -517,6 +515,8 @@ def foo(bar=baz, bax):
517
515
if ERROR_HAS_LAST_LINE :
518
516
if PYPY :
519
517
column = 7
518
+ elif sys .version_info >= (3 , 9 ):
519
+ column = 21
520
520
elif sys .version_info >= (3 , 8 ):
521
521
column = 9
522
522
else :
@@ -545,6 +545,8 @@ def test_nonKeywordAfterKeywordSyntaxError(self):
545
545
if ERROR_HAS_LAST_LINE :
546
546
if PYPY :
547
547
column = 12
548
+ elif sys .version_info >= (3 , 9 ):
549
+ column = 17
548
550
elif sys .version_info >= (3 , 8 ):
549
551
column = 14
550
552
else :
@@ -579,6 +581,8 @@ def test_invalidEscape(self):
579
581
position_end = 1
580
582
if PYPY :
581
583
column = 5
584
+ elif ver >= (3 , 9 ):
585
+ column = 13
582
586
else :
583
587
column = 7
584
588
# Column has been "fixed" since 3.2.4 and 3.3.1
You can’t perform that action at this time.
0 commit comments