Skip to content

Commit d7aec51

Browse files
committed
Simplify f-string to normal str in test_exceptions_mutation()
1 parent 5feb970 commit d7aec51

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_exception_group.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -219,7 +219,7 @@ class MyEG(ExceptionGroup):
219219
excs = collections.deque([ValueError(1), TypeError(2)])
220220
eg = ExceptionGroup('test', excs)
221221

222-
self.assertEqual(repr(eg), f"ExceptionGroup('test', deque([ValueError(1), TypeError(2)]))")
222+
self.assertEqual(repr(eg), "ExceptionGroup('test', deque([ValueError(1), TypeError(2)]))")
223223
excs.clear()
224224

225225
# Ensure that clearing the exceptions sequence doesn't change the repr.

0 commit comments

Comments
 (0)