Skip to content
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

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

Closed

Commits on Nov 23, 2024

  1. Update test_turtle.py (added TestRawTurtle.test_clone()

    test_turtle.TestRawTurtle.test_clone(self):
        assert the last item in the items list of the cloned turtle is correct.
            more specifically, the item should be the same as the currentLineItem of the cloned turtle. 
        also, the currentLineItem of the original turtle should not be in the items list of the cloned turtle.
    
    test_turtle.TestRawTurtle.setUp(self):
        skip test if the RawTurtle cannot be initialized because tk/tcl is not supported
    Chaebin-Kim24 authored Nov 23, 2024
    Configuration menu
    Copy the full SHA
    82550c4 View commit details
    Browse the repository at this point in the history
  2. Update test_turtle.py

    edited spacings
    Chaebin-Kim24 authored Nov 23, 2024
    Configuration menu
    Copy the full SHA
    724ac4a View commit details
    Browse the repository at this point in the history