A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2000-July/006249.html below:

[Python-Dev] Re: test_posixpath fails

[Python-Dev] Re: test_posixpath failsSkip Montanaro skip@mojam.com (Skip Montanaro)
Wed, 12 Jul 2000 09:19:47 -0500 (CDT)
    Jeremy> If I run the new test on my Linux box, I get two errors.  The
    Jeremy> second error looks innocuous, but the first one looks like a
    Jeremy> real bug.

Jeremy,

Mea culpa.  I wrote the commonprefix test assuming the adoption of my new
(corrected) semantics.  Looks like you are using the stock version that
examines prefixes character-by-character, which can return path prefixes
that don't exist.  Try applying this patch:

    https://sourceforge.net/patch/?func=detailpatch&patch_id=100788&group_id=5470

Skip

    Jeremy> Jeremy

    >> python Lib/test/test_posixpath.py
    Jeremy> error!
    Jeremy> evaluated: posixpath.commonprefix(["/home/swenson/spam", "/home/swen/spam"])
    Jeremy> should be: /home
    Jeremy>  returned: /home/swen

    Jeremy> error!
    Jeremy> evaluated: posixpath.commonprefix(["/home/swen/spam", "/home/swen/eggs"])
    Jeremy> should be: /home/swen
    Jeremy>  returned: /home/swen/

    Jeremy> 2 errors.



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4