Skip to content

Commit 160403a

Browse files
committed
Fix line numbers in exception output after format
1 parent 5746657 commit 160403a

File tree

1 file changed

+12
-12
lines changed

1 file changed

+12
-12
lines changed

tests/circuitpython/traceback_test_chained.py.exp

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -76,75 +76,75 @@ ZeroDivisionError: division by zero
7676

7777
------------------------------------------------------------------------
7878
Traceback (most recent call last):
79-
File "circuitpython/traceback_test_chained.py", line 81, in <module>
79+
File "circuitpython/traceback_test_chained.py", line 83, in <module>
8080
Exception: inner
8181

8282
During handling of the above exception, another exception occurred:
8383

8484
Traceback (most recent call last):
85-
File "circuitpython/traceback_test_chained.py", line 83, in <module>
85+
File "circuitpython/traceback_test_chained.py", line 85, in <module>
8686
SomeException: outer
8787
------------------------------------------------------------------------
8888

8989
------------------------------------------------------------------------
9090
Traceback (most recent call last):
91-
File "circuitpython/traceback_test_chained.py", line 89, in <module>
91+
File "circuitpython/traceback_test_chained.py", line 91, in <module>
9292
Exception: inner
9393

9494
The above exception was the direct cause of the following exception:
9595

9696
Traceback (most recent call last):
97-
File "circuitpython/traceback_test_chained.py", line 92, in <module>
97+
File "circuitpython/traceback_test_chained.py", line 94, in <module>
9898
SomeException: outer
9999
------------------------------------------------------------------------
100100

101101

102102
------------------------------------------------------------------------
103103
Traceback (most recent call last):
104-
File "circuitpython/traceback_test_chained.py", line 99, in <module>
104+
File "circuitpython/traceback_test_chained.py", line 101, in <module>
105105
RuntimeError: inner
106106

107107
The above exception was the direct cause of the following exception:
108108

109109
Traceback (most recent call last):
110-
File "circuitpython/traceback_test_chained.py", line 101, in <module>
110+
File "circuitpython/traceback_test_chained.py", line 103, in <module>
111111
Exception: outer
112112
------------------------------------------------------------------------
113113

114114
------------------------------------------------------------------------
115115
Traceback (most recent call last):
116-
File "circuitpython/traceback_test_chained.py", line 107, in <module>
116+
File "circuitpython/traceback_test_chained.py", line 109, in <module>
117117
RuntimeError: inner
118118

119119
The above exception was the direct cause of the following exception:
120120

121121
Traceback (most recent call last):
122-
File "circuitpython/traceback_test_chained.py", line 110, in <module>
122+
File "circuitpython/traceback_test_chained.py", line 112, in <module>
123123
Exception: outer
124124
------------------------------------------------------------------------
125125

126126

127127
------------------------------------------------------------------------
128128
Traceback (most recent call last):
129-
File "circuitpython/traceback_test_chained.py", line 117, in <module>
129+
File "circuitpython/traceback_test_chained.py", line 119, in <module>
130130
RuntimeError: inner
131131

132132
During handling of the above exception, another exception occurred:
133133

134134
Traceback (most recent call last):
135-
File "circuitpython/traceback_test_chained.py", line 119, in <module>
135+
File "circuitpython/traceback_test_chained.py", line 121, in <module>
136136
SomeException: outer
137137
------------------------------------------------------------------------
138138

139139
------------------------------------------------------------------------
140140
Traceback (most recent call last):
141-
File "circuitpython/traceback_test_chained.py", line 125, in <module>
141+
File "circuitpython/traceback_test_chained.py", line 127, in <module>
142142
RuntimeError: inner
143143

144144
The above exception was the direct cause of the following exception:
145145

146146
Traceback (most recent call last):
147-
File "circuitpython/traceback_test_chained.py", line 128, in <module>
147+
File "circuitpython/traceback_test_chained.py", line 130, in <module>
148148
SomeException: outer
149149
------------------------------------------------------------------------
150150

0 commit comments

Comments
 (0)