Skip to content

Commit 532a8c6

Browse files
Update test_turtle.py
check variable name
1 parent bca9fdf commit 532a8c6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Lib/test/test_turtle.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -471,7 +471,7 @@ def test_clone(self):
471471
rawturtle = turtle.RawTurtle(screen)
472472
another_turtle = rawturtle.clone()
473473
self.assertEqual(another_turtle.currentLineItem, another_turtle.items[-1])
474-
self.assertFalse(a_turtle.currentLineItem in another_turtle.items)
474+
self.assertFalse(rawturtle.currentLineItem in another_turtle.items)
475475

476476

477477
class TestTurtleScreen(unittest.TestCase):

0 commit comments

Comments
 (0)