From 33b283327d57ee5bef5e7a55dd6f774d3bf5389b Mon Sep 17 00:00:00 2001 From: hpk Date: Tue, 24 Mar 2009 23:40:04 +0100 Subject: [PATCH] [svn r63302] avoiding a (what i think mostly) mac python setup issue --HG-- branch : trunk --- py/execnet/testing/test_xspec.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py/execnet/testing/test_xspec.py b/py/execnet/testing/test_xspec.py index e509bd664..9949a08b4 100644 --- a/py/execnet/testing/test_xspec.py +++ b/py/execnet/testing/test_xspec.py @@ -79,12 +79,14 @@ class TestMakegateway: for trypath in ('python2.4', r'C:\Python24\python.exe'): cpython24 = py.path.local.sysfind(trypath) if cpython24 is not None: + cpython24 = cpython24.realpath() break else: py.test.skip("cpython2.4 not found") gw = py.execnet.makegateway("popen//python=%s" % cpython24) rinfo = gw._rinfo() - assert rinfo.executable == cpython24 + if py.std.sys.platform != "darwin": # it's confusing there + assert rinfo.executable == cpython24 assert rinfo.cwd == py.std.os.getcwd() assert rinfo.version_info[:2] == (2,4)