]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
gh-141833: Remove the bad lines in `test_attr_promotion_failure` (GH-141841)
authorYongzi Li <204532581+Yzi-Li@users.noreply.github.com>
Sat, 22 Nov 2025 16:27:05 +0000 (00:27 +0800)
committerGitHub <noreply@github.com>
Sat, 22 Nov 2025 16:27:05 +0000 (00:27 +0800)
Lib/test/test_capi/test_opt.py

index 25372fee58e0d7417b4a45a49447cf4a36b57f3b..58242f9ac3a01ff4aefea9308ff5c2942da274d0 100644 (file)
@@ -2480,8 +2480,6 @@ class TestUopsOptimization(unittest.TestCase):
 
 
         testfunc(_testinternalcapi.TIER2_THRESHOLD)
-        ex = get_first_executor(testfunc)
-        assert ex is not None
         """))
 
     def test_pop_top_specialize_none(self):