8000 gh-98254: Include stdlib module names in error messages for NameErrors by pablogsal · Pull Request #98255 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

gh-98254: Include stdlib module names in error messages for NameErrors #98255

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 9 commits into from
Oct 15, 2022
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Fix whitespace
  • Loading branch information
pablogsal committed Oct 14, 2022
commit ca2c471e5d9aa434fd9dff03b7c2356594a3123c
2 changes: 1 addition & 1 deletion Lib/test/test_traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -3184,7 +3184,7 @@ def func():

actual = self.get_suggestion(func)
self.assertNotIn("something", actual)

def test_name_error_for_stdlib_modules(self):
def func():
stream = io.StringIO()
Expand Down
0