Skip to content

Commit 177b535

Browse files
committed
Update ExceptionGroup repr in test_traceback
1 parent cd90d51 commit 177b535

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_traceback.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5170,7 +5170,7 @@ def expected(t, m, fn, l, f, E, e, z):
51705170
f' | File {fn}"{__file__}"{z}, line {l}{lno_foo+9}{z}, in {f}test_colorized_traceback_from_exception_group{z}',
51715171
f' | {e}foo{z}{E}(){z}',
51725172
f' | {e}~~~{z}{E}^^{z}',
5173-
f" | e = ExceptionGroup('test', [ZeroDivisionError('division by zero')])",
5173+
f" | e = ExceptionGroup('test', (ZeroDivisionError('division by zero'),))",
51745174
f" | foo = {foo}",
51755175
f' | self = <{__name__}.TestColorizedTraceback testMethod=test_colorized_traceback_from_exception_group>',
51765176
f' | File {fn}"{__file__}"{z}, line {l}{lno_foo+6}{z}, in {f}foo{z}',

0 commit comments

Comments
 (0)