##// END OF EJS Templates
tests: filter out PEP 657 error locations in tracebacks (issue6780)...
av6 -
r50764:fe044ce4 stable
parent child Browse files
Show More
@@ -31,6 +31,11 b' for line in sys.stdin:'
31 elif not line.startswith(' '):
31 elif not line.startswith(' '):
32 state = 'none'
32 state = 'none'
33
33
34 elif not line.replace('^', '').replace('~', '').strip():
35 # PEP 657: Fine-grained error locations in tracebacks
36 # ~~~~~~^^^^^^^^^
37 continue
38
34 elif state == 'file':
39 elif state == 'file':
35 # Ignore lines after " File "
40 # Ignore lines after " File "
36 state = 'tb'
41 state = 'tb'
General Comments 0
You need to be logged in to leave comments. Login now