Commit fa493023 authored by Michael Howitz's avatar Michael Howitz

fixed test, so it does not break when using python 2.6 (previously a...

fixed test, so it does not break when using python 2.6 (previously a deprecation warning was displayed there inside the test output)
parent 244608ce
...@@ -66,11 +66,11 @@ Let's try with an unknown version:: ...@@ -66,11 +66,11 @@ Let's try with an unknown version::
<BLANKLINE> <BLANKLINE>
X X
Now let's try with `1.1.1`, which happens to exist:: Now let's try with `1.1.2`, which happens to exist::
>>> print 'X'; print system( >>> print 'X'; print system(
... zc.buildout.easy_install._safe_arg(sys.executable)+' '+ ... zc.buildout.easy_install._safe_arg(sys.executable)+' '+
... 'bootstrap.py --version 1.1.1'); print 'X' ... 'bootstrap.py --version 1.1.2'); print 'X'
... ...
X X
Generated script '/sample/bin/buildout'. Generated script '/sample/bin/buildout'.
...@@ -86,7 +86,7 @@ Let's make sure the generated `buildout` script uses it:: ...@@ -86,7 +86,7 @@ Let's make sure the generated `buildout` script uses it::
import sys import sys
sys.path[0:0] = [ sys.path[0:0] = [
'/sample/eggs/setuptools-...egg', '/sample/eggs/setuptools-...egg',
'/sample/eggs/zc.buildout-1.1.1...egg', '/sample/eggs/zc.buildout-1.1.2...egg',
] ]
<BLANKLINE> <BLANKLINE>
import zc.buildout.buildout import zc.buildout.buildout
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment