Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Move test files into test subdirectories #108303

Copy link
Copy link
Closed
@vstinner

Description

@vstinner
Issue body actions

Feature or enhancement

Proposal:

The Python test suite has around 166 files and sub-directories where the name is not clearly associated to a test. For example, it's not obvious to me which test uses talos-2019-0758.pem or coding20731.py.

When possible, I propose to move these files into sub-directories related to their test. Example:

  • create Lib/test/test_module/ sub-directory
  • move Lib/test/test_module.py to Lib/test/test_module/__init__.py
  • move good_getattr.py and bad_getattr*.py scripts to Lib/test/test_module/

Well, I created PR #108293 for this specific example.

Linked PRs

Metadata

Metadata

Assignees

No one assigned

    Labels

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

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      Morty Proxy This is a proxified and sanitized view of the page, visit original site.