Message142811
| Author |
ncoghlan |
| Recipients |
anthonyb, ezio.melotti, gnofi, loewis, ncoghlan, python-dev, r.david.murray, vstinner |
| Date |
2011年08月23日.12:16:17 |
| SpamBayes Score |
2.7888738e-08 |
| Marked as misclassified |
No |
| Message-id |
<1314101778.1.0.501274955394.issue6484@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The buildbots are reporting a test failure on Windows:
======================================================================
FAIL: test_listmailcapfiles (test.test_mailcap.HelperFunctionTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "D:\cygwin\home\db3l\buildarea3円.x.bolen-windows\build\lib\test\test_mailcap.py", line 74, in test_listmailcapfiles
self.assertEqual(env_mailcaps, mcfiles)
AssertionError: Lists differ: ['/testdir1/.mailcap', '/testd... != ['/testdir1/.mailcap;/testdir2...
First differing element 0:
/testdir1/.mailcap
/testdir1/.mailcap;/testdir2/mailcap
First list contains 1 additional elements.
First extra element 1:
/testdir2/mailcap
- ['/testdir1/.mailcap', '/testdir2/mailcap']
? ^^^^
+ ['/testdir1/.mailcap;/testdir2/mailcap']
? ^
There's a discrepancy between the test (uses os.pathsep) and the mailcap module (hardcoded to use ':' on all platforms).
I suspect the test is actually right and the module is wrong, but I don't know enough about mailcap to be sure. Anyone else? |
|