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.

classification
Title: python-2.7.2-r3 suffers test failure at test_mhlib
Type: behavior Stage: resolved
Components: Tests Versions: Python 2.7
process
Status: closed Resolution: wont fix
Dependencies: Superseder:
Assigned To: Nosy List: BreamoreBoy, idella5, ned.deily
Priority: normal Keywords:

Created on 2012-04-12 10:14 by idella5, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Messages (3)
msg158119 - (view) Author: Ian Delaney (idella5) Date: 2012-04-12 10:14
Testing test suite of pyth-2.7.
Re-running failed tests in verbose mode
Re-running test 'test_mhlib' in verbose mode
test_basic (test.test_mhlib.MhlibTests) ... ok
test_listfolders (test.test_mhlib.MhlibTests) ... FAIL

It seems to be pinned down to this one line in test that failed.

ok, it comes down to this.  From test_mhlib.py

    def test_listfolders(self):
        mh = getMH()
        eq = self.assertEqual

#        tfolders.sort()                    \\ Line 184
#        eq(folders, tfolders)              \\ Line 185

Commenting them out removes the source of error. The lines that trips up include at least 185, 189, 193.  The 'folders' are not equal.

Bug filed in gentoo bugzilla; Bug 387967; 21-10-2011.

The build log from that bug in Comment 2

https://bugs.gentoo.org/attachment.cgi?id=290409
msg221586 - (view) Author: Mark Lawrence (BreamoreBoy) * Date: 2014-06-26 01:27
Is it safe to assume that this is a problem that has long been resolved?
msg221589 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2014-06-26 03:35
This could be a duplicate of the problem reported in Issue7759.  The patch provided there was not applied since the mhlib module is deprecated and its use is not recommended.  Feel free to re-open this issue if necessary.
History
Date User Action Args
2022-04-11 14:57:29adminsetgithub: 58766
2014-06-26 03:35:45ned.deilysetstatus: open -> closed

nosy: + ned.deily
messages: + msg221589

resolution: wont fix
stage: resolved
2014-06-26 01:27:15BreamoreBoysetnosy: + BreamoreBoy
messages: + msg221586
2012-04-12 10:14:40idella5create