Skip to content

Commit 77f9de1

Browse files
Update Lib/test/test_traceback.py
Co-authored-by: Kumar Aditya <[email protected]>
1 parent 04e1e03 commit 77f9de1

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
@@ -3013,7 +3013,7 @@ def callable():
30133013
except ImportError as e:
30143014
raise e from None
30153015
except Exception as e:
3016-
self.fail("Expected ImportError but got {type(e)}")
3016+
self.fail(f"Expected ImportError but got {type(e)}")
30173017
self.addCleanup(forget, modname)
30183018

30193019
result_lines = self.get_exception(

0 commit comments

Comments
 (0)