From 950f18a250d8863be1cc49f1e204f3923b7d9ff8 Mon Sep 17 00:00:00 2001 From: Lie Ryan Date: Thu, 15 Dec 2022 23:05:40 +1100 Subject: [PATCH] Missed fix from #546 --- ropetest/refactor/patchedasttest.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/ropetest/refactor/patchedasttest.py b/ropetest/refactor/patchedasttest.py index 296fb65bb..7a2bc8fc2 100644 --- a/ropetest/refactor/patchedasttest.py +++ b/ropetest/refactor/patchedasttest.py @@ -366,10 +366,8 @@ def test_aug_assign_node(self): source = "a += 1\n" ast_frag = patchedast.get_patched_ast(source, True) checker = _ResultChecker(self, ast_frag) - start = source.index("a") checker.check_region("AugAssign", 0, len(source) - 1) checker.check_children("AugAssign", ["Name", " ", "+", "", "=", " ", "Num"]) - self.assertTrue(start is not None) @testutils.only_for_versions_lower("3") def test_back_quotenode(self):