-
-
Notifications
You must be signed in to change notification settings - Fork 32k
bpo-46523: fix tests rerun when setUp[Class|Module]
fails
#30895
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
Changes from 1 commit
d80f008
99b4887
5e49276
3544cd1
0eedf63
9f25961
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4001,6 +4001,7 @@ def cleanup(self): | |
|
||
@classmethod | ||
def setUpClass(cls): | ||
raise ValueError | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. This is intentional. Let's see the CI output, it should be red. There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. It failed as intended: https://github.com/python/cpython/runs/4943128810?check_suite_focus=true#step:5:1483 🎉 |
||
sys.modules['typing'] = cls.module | ||
global UserId | ||
UserId = cls.module.NewType('UserId', int) | ||
|
Uh oh!
There was an error while loading. Please reload this page.