Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upFix so that test.test_distutils can be executed by unittest and not j… #13480
Conversation
This comment has been minimized.
This comment has been minimized.
@merwok hey, here's a fix to enable the distutils test suite to work with unittest as well as regrtest. The strategy was copied from Michael Foord's change to the test_unittest.py file. Let me know if you'd like me to open a bug (and if you'd like me to add a NEWS entry). I wasn't sure if this was so trivial that it didn't need either of those. |
…ust regrtest Our developer instructions list unittest with test discovery as the method to execute individual tests so we should make that work. This is similar to add7cbf but for testing distutils rather than testing unittest. For instance, this change will enable the following to work: ./python -m unittest -v distutils.tests.test_file_util
41544f2
to
5491c5e
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
abadger commentedMay 22, 2019
…ust regrtest
Our developer instructions list unittest with test discovery as the
method to execute individual tests so we should make that work. This is
similar to add7cbf but for testing
distutils rather than testing unittest. For instance, this change will
enable the following to work:
./python -m unittest -v distutils.tests.test_file_util