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 \encodings.rot_13\ command-line interface by Bhumika-1432006 · Pull Request #159299 · python/cpython

Conversation

@Bhumika-1432006

@Bhumika-1432006 Bhumika-1432006 commented Oct 13, 2026 •
edited by bedevere-app Bot
Loading

Uh oh!

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

Copy link
Copy Markdown

Add Rot13CommandLineTest class to Lib/test/test_codecs.py with
subprocess-based tests for python -m encodings.rot_13.

The tests cover:

  • Basic stdin-to-stdout ROT-13 encoding
  • ROT-13 being its own inverse (applying twice returns original text)
  • Non-alphabetic characters pass through unchanged

Fixes: #131178

  • 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
@python-cla-bot

python-cla-bot Bot commented Oct 13, 2026 •
edited
Loading

Uh oh!

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

Copy link
Copy Markdown

All commit authors signed the Contributor License Agreement.

CLA signed

All reactions

Sorry, something went wrong.

Uh oh!

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

@bedevere-app bedevere-app Bot added the type-feature A feature request or enhancement label Oct 13, 2026
@bedevere-app bedevere-app Bot mentioned this pull request Oct 13, 2026
Add tests for command-line interface #131178
Open
7 of 9 tasks
@bedevere-app bedevere-app Bot added awaiting review tests Tests in the Lib/test dir labels Oct 13, 2026
@bedevere-app

bedevere-app Bot commented Oct 13, 2026

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.

@Bhumika-1432006
Bhumika-1432006 force-pushed the gh-131178-add-encodings-rot_13-cli-tests branch from 4491ac9 to ff77d95 Compare October 13, 2026 09:24
Bhumika-1432006 added 3 commits October 21, 2026 23:56
@Bhumika-1432006
pythongh-131178: Add tests for encodings.rot_13 command-line interface
7658eac
Add `Rot13CommandLineTest` class to `Lib/test/test_codecs.py` with
subprocess-based tests for `python -m encodings.rot_13`.
@Bhumika-1432006
pythongh-131178: Add NEWS entry for encodings.rot_13 CLI tests
aa15f12
@Bhumika-1432006
pythongh-131178: Fix NEWS entry to use inline code instead of mod role
ae2ca28
@Bhumika-1432006
Bhumika-1432006 force-pushed the gh-131178-add-encodings-rot_13-cli-tests branch from 7e84658 to ae2ca28 Compare October 21, 2026 18:26
@Bhumika-1432006

Bhumika-1432006 commented Oct 21, 2026

Copy link
Copy Markdown
Author

All CI checks are passing. Could someone please review? cc @sobolevn @picnixz

All reactions

Sorry, something went wrong.

Uh oh!

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

@StanFromIreland

StanFromIreland commented Oct 21, 2026

Copy link
Copy Markdown
Member

Sorry, but since the CLI is just the bare encoder, I don't think this is worth it.

All reactions

Sorry, something went wrong.

Uh oh!

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

@StanFromIreland StanFromIreland closed this Oct 21, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

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

Assignees

No one assigned

Labels

awaiting review tests Tests in the Lib/test dir type-feature A feature request or enhancement

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add tests for command-line interface

Uh oh!

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

2 participants

@Bhumika-1432006 @StanFromIreland
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.