-
-
Notifications
You must be signed in to change notification settings - Fork 31k
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
gh-89392: Make test_decimal discoverable #106209
Conversation
6dbb8a5
to
9e7f09a
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. As you said, there's more cleanup to be done here, but splitting out just the discoverability fixes makes a lot of sense; I tried to do too much in my old attempt :)
9e7f09a
to
9b8c95e
Compare
9b8c95e
to
196fc8a
Compare
196fc8a
to
ce3f424
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a very nice cleanup; thanks, Serhiy!
python -m test test_decimal -m "<regex>" -v
now finally behaves as expected.
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry @serhiy-storchaka, I had trouble checking out the |
(cherry picked from commit 0e24499) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-106229 is a backport of this pull request to the 3.11 branch. |
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
(cherry picked from commit 0e24499) Co-authored-by: Serhiy Storchaka <[email protected]>
GH-106230 is a backport of this pull request to the 3.12 branch. |
Only took 10 years, but we got there! Thanks Serhiy :) |
(cherry picked from commit 0e24499) Co-authored-by: Serhiy Storchaka <[email protected]>
It is very peculiar test file. It provides additional CLI interface and programming interface which accept options to control what to test what print during testing.
This PR is different from Zachary's patch for #64207. It only makes minimal changes necessary to make tests discoverable, use standard unittest methods to collect and run tests, and avoid changing the current behavior. The code of the module can be improved further, but this is out of the scope of this PR.
The two modified tests depended on the order in which the tests were ran.