8000 bpo-46425: fix direct invocation of `test_traceback` by sobolevn · Pull Request #30746 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

bpo-46425: fix direct invocation of test_traceback #30746

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 3 commits into from
Jan 22, 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
Revert f-string
  • Loading branch information
sobolevn committed Jan 21, 2022
commit 6759313190196b74aea536dff697666e6548cb59
2 changes: 1 addition & 1 deletion Lib/test/test_traceback.py
Original file line number Diff line number Diff line change
Expand Up @@ -1312,7 +1312,7 @@ def __str__(self):
err = self.get_report(A.B.X())
str_value = 'I am X'
str_name = '.'.join([A.B.X.__module__, A.B.X.__qualname__])
exp = f"{str_name}: {str_value}\n"
exp = "%s: %s\n" % (str_name, str_value)
self.assertEqual(exp, MODULE_PREFIX + err)

def test_exception_modulename(self):
Expand Down
0