python / cpython

The Python programming language
https://www.python.org
Other
63.66k stars 30.49k forks source link

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

Closed Chaebin-Kim24 closed 2 days ago

Chaebin-Kim24 commented 2 days ago

The corresponding issue proposes a modification on turtle module's RawTurtle.clone() function.

Specifically, items of cloned RawTurtle object to have its own currentLineItem, and not the currentLineItem of the original.

This test checks the items of cloned RawTurtle to meet the proposal.

The test is expected to fail without #126401 and pass with it.

The test is skipped when Tk/Tcl is not supported.

bedevere-app[bot] commented 2 days ago

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

hugovk commented 2 days ago

The test is expected to fail without #126401 and pass with it.

Thanks, but this test is also part of that PR, so we don't need this separate PR with just a failing test. Let's close this one and continue in #126401.