(Resending to python-dev instead of python-checkins)

Any objections to applying something like the following to address the
recent spate of buildbot failures in test_posixpath:test_islink?

Index: Lib/test/test_posixpath.py
--- Lib/test/test_posixpath.py  (revision 54248)
+++ Lib/test/test_posixpath.py  (working copy)
@@ -150,6 +150,11 @@
            os.remove(test_support.TESTFN)

    def test_islink(self):
+        try:
+            os.remove(test_support.TESTFN + "2")
+        except os.error:
+            pass
+
        self.assertIs(posixpath.islink(test_support.TESTFN + "1"), False)
        f = open(test_support.TESTFN + "1", "wb")
        try:

Collin Winter

On 3/9/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
> The Buildbot has detected a new failure of g4 osx.4 trunk.
> Full details are available at:
>  http://www.python.org/dev/buildbot/all/g4%2520osx.4%2520trunk/builds/1814
>
> Buildbot URL: http://www.python.org/dev/buildbot/all/
>
> Build Reason:
> Build Source Stamp: [branch trunk] HEAD
> Blamelist: collin.winter,thomas.heller
>
> Build had warnings: warnings test
>
> Excerpt from the test logfile:
> 1 test failed:
>     test_posixpath
>
> make: *** [buildbottest] Error 1
>
> sincerely,
>  -The Buildbot
>
> _______________________________________________
> Python-checkins mailing list
> [EMAIL PROTECTED]
> http://mail.python.org/mailman/listinfo/python-checkins
>
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to