Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Add tests for command-line interface #131178

Open
Assignees
donBarbos
Labels
easytestsTests in the Lib/test dirtype-featureA feature request or enhancement
@donBarbos

Description

@donBarbos

While working on#130160 and#93096 it was decided that it would be worth paying attention to the problem of lack of tests for command line interface.

List of all cli modules is in the documentation:https://docs.python.org/dev/library/cmdline.html

Many modules are missing command line interface tests, so I suggest using this issue to submit PRs for now only for well-documented interfaces, for example:

TODO: Make sureall documented have tests for CLI (others are not so important as it has not been decided what to do with them yet)

You can use PR#127759 fordis module or#118132 forrandom module as a reference.
And I also suggest usingsubprocess.Popen to allocate a separate resource since some modules can block a lot of time.

Important

For those who want to work on the issue, please:

  • Select one module for which tests will be improved. It's easier to review and backport.
  • Open a pull request with the following title:gh-131178: Add tests for `MODULE_NAME` command-line interface

Linked PRs

Metadata

Metadata

Assignees

Labels

easytestsTests 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


    [8]ページ先頭

    ©2009-2025 Movatter.jp