Visitar URL original
Create tests for turtle module · Issue #135272 · python/cpython · GitHub
Skip to content

Create tests for turtle module #135272

Description

@adorilson

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 gh-107805: Fix signatures of module-level generated functions in turtle #107807 (review)

Here, go the module's functions:

Linked PRs

Activity

  1. added
    type-featureA feature request or enhancement
    testsTests in the Lib/test dir
    on Jun 8, 2025
  2. picnixz commented on Jun 13, 2025

    @picnixz
    Member

    Are you willing to work on this one? if so, I can assign you the issue

  3. mingdaoy commented on Jun 15, 2025

    @mingdaoy

    Hi @picnixz @adorilson
    Can I help you with this?

  4. picnixz commented on Jun 15, 2025

    @picnixz
    Member

    Your help is welcome! Let's first test the RawTurtle class.

  5. adorilson commented on Jun 28, 2025

    @adorilson
    ContributorAuthor

    Are you willing to work on this one? if so, I can assign you the issue

    Yes, I do. However, I prefer not to be assigned, as I'm unsure when I might be available to do this.

  6. adorilson commented on Sep 11, 2025

    @adorilson
    ContributorAuthor

    I realized that python -m test doesn't run doctest against the turtle module.
    Is there some reason for that? Or was it just forgotten?

  7. picnixz commented on Sep 11, 2025

    @picnixz
    Member

    Doesn't it need -ugui resource? if this still doesn't run the doctests, then maybe it's a more general issue where we don't run doctests in the code at all.

  8. adorilson commented on Sep 12, 2025

    @adorilson
    ContributorAuthor

    Doesn't it need -ugui resource?

    Doens't work.

    if this still doesn't run the doctests, then maybe it's a more general issue where we don't run doctests in the code at all.

    I found it working for the enum module, for instance.

  9. added a commit that references this issue on Sep 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    testsTests in the Lib/test dirtype-featureA feature request or enhancement

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions