Skip to content

Split up Lib/test/test_ast.py #122292

Description

@Eclips4

Feature or enhancement

Proposal:

Lib/test/test_ast.py currently contains a ast test cases, and code-generated data such as exec_results, eval_results and single_results.

I propose to move the snippets which are used to generate these variables and the code which is generated into a separate file.

The test_ast directory would look like this:

  • test_ast/test_ast.py - the previous version of test_ast.py but without the snippets and code-generation
  • test_ast/test_cases.py - contains the snippets and code-generation

Has this already been discussed elsewhere?

This is a minor feature, which does not need previous discussion elsewhere

Links to previous discussion of this feature:

No response

Linked PRs

Activity

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

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions