8000 gh-126399 add test of turtle module's RawTurtle.clone() by Chaebin-Kim24 · Pull Request #127189 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-126399 add test of turtle module's RawTurtle.clone() #127189

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Update test_turtle.py
edited spacings
  • Loading branch information
Chaebin-Kim24 authored Nov 23, 2024
commit 724ac4a916e450ba9f256c2a5db68e8a54923f30
2 changes: 1 addition & 1 deletion Lib/test/test_turtle.py
Original file line number Diff line number Diff line change
Expand Up @@ -466,7 +466,6 @@ def test_teleport(self):
self.assertTrue(tpen.isdown())



class TestRawTurtle(unittest.TestCase):
def setUp(self):
try:
Expand All @@ -480,6 +479,7 @@ def test_clone(self):
self.assertEqual(another_turtle.currentLineItem, another_turtle.items[-1])
self.assertFalse(rawturtle.currentLineItem in another_turtle.items)


class TestTurtleScreen(unittest.TestCase):
def test_save_raises_if_wrong_extension(self) -> None:
screen = unittest.mock.Mock()
Expand Down
Loading
0