Skip to content

Conversation

ttw225
Copy link
Contributor

@ttw225 ttw225 commented Oct 8, 2025

Fixes gh-139743: importing test_sqlite3 printed the SQLite version banner, which leaked into help('modules'). Move the print under load_tests (still under verbose) so it only appears when tests actually run.

Credit: thanks to @yihong0618 for identifying the cause and approach.

(No NEWS — tests-only.)

Copy link
Member

@serhiy-storchaka serhiy-storchaka left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. 👍

@serhiy-storchaka serhiy-storchaka merged commit 6508940 into python:main Oct 9, 2025
57 checks passed
@miss-islington-app
Copy link

Thanks @ttw225 for the PR, and @serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 9, 2025
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Oct 9, 2025
@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139828 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Oct 9, 2025
@bedevere-app
Copy link

bedevere-app bot commented Oct 9, 2025

GH-139829 is a backport of this pull request to the 3.13 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.13 bugs and security fixes label Oct 9, 2025
serhiy-storchaka pushed a commit that referenced this pull request Oct 9, 2025
serhiy-storchaka pushed a commit that referenced this pull request Oct 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

skip news tests Tests in the Lib/test dir

Projects

None yet

Development

Successfully merging this pull request may close these issues.

pyrepl help modules displays a print statement from test_sqlite3

2 participants