Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 1fdc35e

Browse filesBrowse files
authored
gh-93883: Fix some tests involving traceback formatting (#94737)
PR #93994 was merged without being rebased in a few weeks, and some new test code using the old scheme passed through automatic merge.
1 parent 46fc584 commit 1fdc35e
Copy full SHA for 1fdc35e

File tree

1 file changed

+0
-4
lines changed
Filter options

1 file changed

+0
-4
lines changed

‎Lib/test/test_traceback.py

Copy file name to clipboardExpand all lines: Lib/test/test_traceback.py
-4Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -740,7 +740,6 @@ def f():
740740
f"Traceback (most recent call last):",
741741
f" File \"{__file__}\", line {self.callable_line}, in get_exception",
742742
f" callable()",
743-
f" ^^^^^^^^^^",
744743
f" File \"{__file__}\", line {f.__code__.co_firstlineno + 2}, in f",
745744
f" .method",
746745
f" ^^^^^^",
@@ -757,10 +756,8 @@ def f():
757756
f"Traceback (most recent call last):",
758757
f" File \"{__file__}\", line {self.callable_line}, in get_exception",
759758
f" callable()",
760-
f" ^^^^^^^^^^",
761759
f" File \"{__file__}\", line {f.__code__.co_firstlineno + 2}, in f",
762760
f" method",
763-
f" ^^^^^^",
764761
]
765762
self.assertEqual(actual, expected)
766763

@@ -774,7 +771,6 @@ def f():
774771
f"Traceback (most recent call last):",
775772
f" File \"{__file__}\", line {self.callable_line}, in get_exception",
776773
f" callable()",
777-
f" ^^^^^^^^^^",
778774
f" File \"{__file__}\", line {f.__code__.co_firstlineno + 2}, in f",
779775
f" . method",
780776
f" ^^^^^^",

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.