Nick Coghlan <ncogh...@gmail.com> added the comment:

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\buildarea\3.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?

----------
status: closed -> open

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6484>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to