python / python/cpython

Create tests for turtle module

Open
#135,272 7 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

tests type-feature
Dominant language
Python
Stars
77.2k
Forks
35.9k
PR merge metrics
PR metrics pending

Description

turtle module has too few tests.

These are the module's public classes to review if there are test and/or implement them:

Some random notes:

  1. For those going to work on teleport, see https://github.com/python/cpython/pull/107807#pullrequestreview-1584010411

Here, go the module's functions:

Linked PRs
  • gh-138877

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with Lib/test/test_turtle.py and review the unchecked public classes and functions listed in the issue, including the notes about teleport and getmethpartlist. Define a focused subset before working, and consider it done when that subset has meaningful tests covering its public behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
testing
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.