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
Distutils tests are broken in 3.4 #72147
Comments
3.4.5 shipped with a working test suite. Since the release of 3.4.5 somebody broke test_distutils in the 3.4 branch. It needs to be fixed. jason.coombs: AFAICT you were the last person to touch it. Are you the one who broke it? % ./python -m test test_distutils
[1/1] test_distutils
test test_distutils crashed -- Traceback (most recent call last):
File "/home/larry/src/python/broke34/Lib/test/regrtest.py", line 1279, in runtest_inner
test_runner()
File "/home/larry/src/python/broke34/Lib/test/test_distutils.py", line 13, in test_main
test.support.run_unittest(distutils.tests.test_suite())
File "/home/larry/src/python/broke34/Lib/distutils/tests/__init__.py", line 31, in test_suite
suite.addTest(module.test_suite())
AttributeError: 'module' object has no attribute 'test_suite' 1 test failed: |
Probably related to the <https://hg.python.org/cpython/log/3.4/Lib/distutils/tests/test_filelist.py\> changes and bpo-12885. Most of the changes were probably reverted from 3.4 in revision e82b995d1a5c, but it looks like we also need to fully revert cc86e9e102e8 to add test_suite() back. The foolproof thing would be to copy the old working version of these files, review the diff, and check it back in as a new commit. |
Sorry you've had to spend any time on this. I'll get it corrected immediately. |
I invoked |
New changeset 556a11c11edd by Jason R. Coombs in branch '3.4': New changeset b442744d2d22 by Jason R. Coombs in branch '3.5': New changeset 7cec1a1d6950 by Jason R. Coombs in branch 'default': |
I believe this is fixed now. I'll be testing locally, but please don't hesitate to let me know if you find otherwise. |
Confirmed working here now. $ hg id -i
556a11c11edd
$ ./python.exe -m test test_distutils
[1/1] test_distutils
1 test OK. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: