GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — WIP: testing: runner: wrap stdin+stderr by blueyed · Pull Request #951 · pallets/click

Conversation

@blueyed

@blueyed blueyed commented Mar 26, 2018

Copy link
Copy Markdown
Contributor

This also helps with failures during testing, e.g. when using
pdb.set_tracce() somewhere inside the runner's isolation - likely
since it handles write already.

Ref: #824

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@blueyed
WIP: testing: runner: wrap stdin+stderr
bbc038d
This also helps with failures during testing, e.g. when using
`pdb.set_tracce()` somewhere inside the runner's isolation - likely
since it handles `write` already.

Ref: pallets#824
@blueyed blueyed mentioned this pull request Mar 26, 2018
ValueError: I/O operation on closed file in testing #824
Closed
@blueyed
fixup! WIP: testing: runner: wrap stdin+stderr
07e2c3a
This was referenced Mar 27, 2018
Add tee capability to CliRunner.invoke(). #459
Closed
Result object should have .stdout and .stderr in addition to .output #371
Closed
@blueyed

blueyed commented Mar 31, 2018

Copy link
Copy Markdown
Contributor Author

#654 has a patch also (only for stdout), that might be simpler.
And see #371 for discussion about API changes/adjustments.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dsully

dsully commented May 14, 2018

Copy link
Copy Markdown

@blueyed I merged PR #868 - let's follow on with any changes from that. Thanks.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dsully dsully closed this May 14, 2018
@blueyed
blueyed deleted the output_wrapper branch May 15, 2018 16:51
@github-actions github-actions Bot locked as resolved and limited conversation to collaborators Nov 13, 2020
@kdeldycke kdeldycke added this to the 8.3.2 milestone Feb 28, 2026
@kdeldycke kdeldycke added bug test runner CliRunner and Click's test utilities feature labels Feb 28, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

test runner CliRunner and Click's test utilities feature

Projects

None yet

Milestone

8.3.2

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

3 participants

@blueyed @dsully @kdeldycke
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.