gh-89392: Make test_decimal discoverable#106209
Conversation
6dbb8a5 to
9e7f09a
Compare
June 28, 2023 17:14
zware
left a comment
There was a problem hiding this comment.
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 :)
Sorry, something went wrong.
9e7f09a to
9b8c95e
Compare
June 28, 2023 17:24
9b8c95e to
196fc8a
Compare
June 29, 2023 06:47
196fc8a to
ce3f424
Compare
June 29, 2023 07:54
erlend-aasland
left a comment
There was a problem hiding this comment.
This is a very nice cleanup; thanks, Serhiy!
python -m test test_decimal -m "<regex>" -v now finally behaves as expected.
Sorry, something went wrong.
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11, 3.12. |
Sorry, something went wrong.
|
Sorry @serhiy-storchaka, I had trouble checking out the |
Sorry, something went wrong.
(cherry picked from commit 0e24499) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
Thanks @serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12. |
Sorry, something went wrong.
(cherry picked from commit 0e24499) Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
|
Only took 10 years, but we got there! Thanks Serhiy :) |
Sorry, something went wrong.
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.