[issue22895] test failure introduced by the fix for issue #22462

2014-11-29 Thread Antoine Pitrou
Antoine Pitrou added the comment: This should be fixed now. -- resolution: - fixed stage: - resolved status: open - closed ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22895 ___

[issue22895] test failure introduced by the fix for issue #22462

2014-11-29 Thread Roundup Robot
Roundup Robot added the comment: New changeset e4b986350feb by Antoine Pitrou in branch '3.4': Close issue #22895: fix test failure introduced by the fix for issue #22462. https://hg.python.org/cpython/rev/e4b986350feb New changeset 4990157343c6 by Antoine Pitrou in branch 'default': Close

[issue22895] test failure introduced by the fix for issue #22462

2014-11-23 Thread Antoine Pitrou
Antoine Pitrou added the comment: What about using “not sysconfig.is_python_build()”? I had forgotten about it, thank you. -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22895 ___

[issue22895] test failure introduced by the fix for issue #22462

2014-11-22 Thread Éric Araujo
Éric Araujo added the comment: What about using “not sysconfig.is_python_build()”? -- nosy: +eric.araujo ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22895 ___

[issue22895] test failure introduced by the fix for issue #22462

2014-11-20 Thread Matthias Klose
Matthias Klose added the comment: do we have something like skipIfInstalled? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue22895 ___ ___

[issue22895] test failure introduced by the fix for issue #22462

2014-11-20 Thread Antoine Pitrou
Antoine Pitrou added the comment: do we have something like skipIfInstalled? No. There's no exact way of checking for an installed Python, but one possibility is to test whether a given directory exists (e.g. Modules). -- ___ Python tracker

[issue22895] test failure introduced by the fix for issue #22462

2014-11-18 Thread Antoine Pitrou
Antoine Pitrou added the comment: Thanks. So, this is not a regression: the failing test was introduced in #22462 and probably would have not worked before, either. The problem is that ../Modules/pyexpat.c makes sense from the checkout directory but not necessarily from the install location.