[Python-3000] status of buildbots

Christian Heimes lists at cheimes.de
Wed Oct 31 16:19:06 CET 2007


Neal Norwitz wrote:
> Windows has more problems, with these tests failing:
>    test_csv test_dumbdbm test_gettext test_mailbox test_netrc
> test_pep277 test_subprocess
> http://python.org/dev/buildbot/3.0/x86%20XP%203.0/builds/190/step-test/0

test_csv
Changing TemporaryFile("w+") to TemporaryFile("w+", newline='') in
test_csv.py readerAssertEqual() line 377 fixes the text. I'm not sure if
it's the proper way to fix the issue.

test_netrc
Added newline='' to fp = open(temp_filename, mode) in test_netrc.py
fixes the test. Same as test_csv.

test_gettext
Index: gettext.py
===================================================================
--- gettext.py	(revision 58729)
+++ gettext.py	(working copy)
@@ -291,7 +291,7 @@
             if mlen == 0:
                 # Catalog description
                 lastk = k = None
-                for b_item in tmsg.split(os.linesep.encode("ascii")):
+                for b_item in tmsg.split('\n'.encode("ascii")):
                     item = str(b_item).strip()
                     if not item:
                         continue
Index: test/test_gettext.py
===================================================================
--- test/test_gettext.py	(revision 58729)
+++ test/test_gettext.py	(working copy)
@@ -332,6 +332,7 @@

     def test_weird_metadata(self):
         info = self.t.info()
+        self.assertEqual(len(info), 9)
         self.assertEqual(info['last-translator'],
            'John Doe <jdoe at example.com>\nJane Foobar
<jfoobar at example.com>')

test_pep277
The test fails because the code in _fileio:fileio_init doesn't set name
from widename. On windows the variable widename contains the name as
PyUNICODE and name stays empty but
PyErr_SetFromErrnoWithFilename(PyExc_IOError, name) uses the name.

test_subprocess
It passes on my machine

test_mailbox
It suffers from the same problem with newlines as test_csv and test_netrc

Christian


More information about the Python-3000 mailing list