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

Always skippyrepl tests that contain"can't use pyrepl" #133054

Closed
Assignees
sobolevn
Labels
testsTests in the Lib/test dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error
@sobolevn

Description

@sobolevn

Bug report

Right now there's a pattern inhttps://github.com/python/cpython/blob/main/Lib/test/test_pyrepl/test_pyrepl.py

that looks like this:

output,exit_code=self.run_repl(commands,env=env)if"can't use pyrepl"inoutput:self.skipTest("pyrepl not available")

We manually check the error message afterrun_repl call and then skip the test.
This design is prone to possible errors.

I propose to do this check inrun_pyrepl itself.

Linked PRs

Metadata

Metadata

Assignees

Labels

testsTests in the Lib/test dirtopic-replRelated to the interactive shelltype-bugAn unexpected behavior, bug, or error

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions


    [8]ページ先頭

    ©2009-2025 Movatter.jp