Skip to content

Commit 1bc2803

Browse files
committed
skip tb_next initalization
1 parent 64340fd commit 1bc2803

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

Lib/unittest/result.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -233,8 +233,9 @@ def _remove_unittest_tb_frames(self, tb):
233233
while tb and not self._is_relevant_tb_level(tb):
234234
prev = tb
235235
tb = tb.tb_next
236-
if prev is not None:
237-
prev.tb_next = None
236+
# TODO: RUSTPYTHON; traceback.tb_next is not writable yet #3857
237+
# if prev is not None:
238+
# prev.tb_next = None
238239

239240
def __repr__(self):
240241
return ("<%s run=%i errors=%i failures=%i>" %

0 commit comments

Comments
 (0)