homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients michael.foord, ned.deily
Date 2012年03月22日.00:07:16
SpamBayes Score 2.8581013e-05
Marked as misclassified No
Message-id <1332374837.69.0.204107861729.issue14382@psf.upfronthosting.co.za>
In-reply-to
Content
When run from an installed location, rather than from the build directory, test_unittest now crashes:
$ ./root/bin/python3.3 -m test -w -uall,-largefile test_unittest
[1/1] test_unittest
test test_unittest crashed -- Traceback (most recent call last):
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/test/regrtest.py", line 1236, in runtest_inner
 indirect_test()
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/test/test_unittest.py", line 8, in test_main
 support.run_unittest(unittest.test.suite())
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/unittest/test/__init__.py", line 17, in suite
 suite.addTest(loader.loadTestsFromName('unittest.test.testmock'))
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/unittest/loader.py", line 105, in loadTestsFromName
 parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'testmock'
1 test failed:
 test_unittest
Re-running failed tests in verbose mode
Re-running test 'test_unittest' in verbose mode
test test_unittest crashed -- Traceback (most recent call last):
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/test/regrtest.py", line 1236, in runtest_inner
 indirect_test()
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/test/test_unittest.py", line 8, in test_main
 support.run_unittest(unittest.test.suite())
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/unittest/test/__init__.py", line 17, in suite
 suite.addTest(loader.loadTestsFromName('unittest.test.testmock'))
 File "/py/dev/default/b10.7_t10.7_x4.2_cclang_d/unix/root/lib/python3.3/unittest/loader.py", line 105, in loadTestsFromName
 parent, obj = obj, getattr(obj, part)
AttributeError: 'module' object has no attribute 'testmock'
History
Date User Action Args
2012年03月22日 00:07:17ned.deilysetrecipients: + ned.deily, michael.foord
2012年03月22日 00:07:17ned.deilysetmessageid: <1332374837.69.0.204107861729.issue14382@psf.upfronthosting.co.za>
2012年03月22日 00:07:17ned.deilylinkissue14382 messages
2012年03月22日 00:07:16ned.deilycreate

AltStyle によって変換されたページ (->オリジナル) /