From 9acfc3c2b7c1f7382447f701dba5e84aede978df Mon Sep 17 00:00:00 2001 From: John Belmonte Date: Mon, 11 Jul 2022 17:39:26 +0900 Subject: [PATCH] fix CI breakage PR #93994 was merged without being rebased in a few weeks, and some new test code using the old scheme passed through automatic merge. --- Lib/test/test_traceback.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/Lib/test/test_traceback.py b/Lib/test/test_traceback.py index f4161fbf0178de..d148c4af506ef8 100644 --- a/Lib/test/test_traceback.py +++ b/Lib/test/test_traceback.py @@ -740,7 +740,6 @@ def f(): f"Traceback (most recent call last):", f" File \"{__file__}\", line {self.callable_line}, in get_exception", f" callable()", - f" ^^^^^^^^^^", f" File \"{__file__}\", line {f.__code__.co_firstlineno + 2}, in f", f" .method", f" ^^^^^^", @@ -757,10 +756,8 @@ def f(): f"Traceback (most recent call last):", f" File \"{__file__}\", line {self.callable_line}, in get_exception", f" callable()", - f" ^^^^^^^^^^", f" File \"{__file__}\", line {f.__code__.co_firstlineno + 2}, in f", f" method", - f" ^^^^^^", ] self.assertEqual(actual, expected) @@ -774,7 +771,6 @@ def f(): f"Traceback (most recent call last):", f" File \"{__file__}\", line {self.callable_line}, in get_exception", f" callable()", - f" ^^^^^^^^^^", f" File \"{__file__}\", line {f.__code__.co_firstlineno + 2}, in f", f" . method", f" ^^^^^^",