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 — gh-131178: Add tests for site command-line interface by Antraxmin · Pull Request #137807 · python/cpython

Conversation

@Antraxmin

@Antraxmin Antraxmin commented Aug 15, 2025 •
edited by bedevere-app Bot
Loading

Uh oh!

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

Copy link
Copy Markdown
Contributor
  • Add tests for command-line interface #131178

Add comprehensive CLI tests for the site module covering:

  • Basic usage with no arguments
  • --user-site option
  • --user-base option
  • Combined --user-base --user-site options
  • Invalid option handling

All tests use subprocess to verify actual CLI behavior.

  • Issue: Add tests for command-line interface #131178

Sorry, something went wrong.

Uh oh!

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

All reactions
@Antraxmin
gh-131178: Add tests for site command-line interface
6d8baf6
Add comprehensive CLI tests for the site module covering:
- Basic usage with no arguments
- --user-site option
- --user-base option
- Combined --user-base --user-site options
- Invalid option handling

All tests use subprocess to verify actual CLI behavior.
@Antraxmin
Antraxmin requested a review from FFY00 as a code owner August 15, 2025 07:23
@bedevere-app bedevere-app Bot added awaiting review tests Tests in the Lib/test dir labels Aug 15, 2025
@bedevere-app

bedevere-app Bot commented Aug 15, 2025

Copy link
Copy Markdown

Most changes to Python require a NEWS entry. Add one using the blurb_it web app or the blurb command-line tool.

If this change has little impact on Python users, wait for a maintainer to apply the skip news label instead.

All reactions

Sorry, something went wrong.

Uh oh!

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

@bedevere-app bedevere-app Bot mentioned this pull request Aug 15, 2025
Add tests for command-line interface #131178
Open
7 of 9 tasks
@Antraxmin

Antraxmin commented Aug 15, 2025

Copy link
Copy Markdown
Contributor Author

@corona10 Hello. I'm a participant in the 2025 pycon KR sprint. Please review this PR!

All reactions

Sorry, something went wrong.

Uh oh!

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

@corona10 corona10 added sprint skip news labels Aug 15, 2025
@donbarbos

donbarbos commented Aug 15, 2025

Copy link
Copy Markdown
Contributor

Thank you, but unfortunately we already have a similar PR #133582

All reactions

Sorry, something went wrong.

Uh oh!

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

@StanFromIreland
StanFromIreland requested a review from ZeroIntensity August 15, 2025 15:21
@ZeroIntensity

ZeroIntensity commented Aug 15, 2025

Copy link
Copy Markdown
Member

Yeah, and since the tests on this one are failing, I think we should merge that one instead. If there's anything that this PR tests for that #133582 doesn't, feel free to add it in a follow-up.

All reactions

Sorry, something went wrong.

Uh oh!

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

@donbarbos

donbarbos commented Oct 10, 2025

Copy link
Copy Markdown
Contributor

Let's close this PR since #133582 has already been merged

All reactions

Sorry, something went wrong.

Uh oh!

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

@ZeroIntensity ZeroIntensity closed this Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@FFY00 FFY00 Awaiting requested review from FFY00 FFY00 is a code owner
@ZeroIntensity ZeroIntensity Awaiting requested review from ZeroIntensity

Uh oh!

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

Assignees

No one assigned

Labels

awaiting review skip news sprint tests Tests in the Lib/test dir

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

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

4 participants

@Antraxmin @donbarbos @ZeroIntensity @corona10
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 01402503 — 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.