[Checkins] SVN: zc.buildout/trunk/src/zc/buildout/bootstrap.txt fixed test, so it does not break when using python 2.6 (previously a deprecation warning was displayed there inside the test output)
Michael Howitz
mh at gocept.com
Tue May 12 03:13:34 EDT 2009
Log message for revision 99860:
fixed test, so it does not break when using python 2.6 (previously a deprecation warning was displayed there inside the test output)
Changed:
U zc.buildout/trunk/src/zc/buildout/bootstrap.txt
-=-
Modified: zc.buildout/trunk/src/zc/buildout/bootstrap.txt
===================================================================
--- zc.buildout/trunk/src/zc/buildout/bootstrap.txt 2009-05-12 01:09:48 UTC (rev 99859)
+++ zc.buildout/trunk/src/zc/buildout/bootstrap.txt 2009-05-12 07:13:34 UTC (rev 99860)
@@ -1,5 +1,5 @@
Make sure the bootstrap script actually works::
-
+
>>> import os, sys
>>> from os.path import dirname, join
>>> import zc.buildout
@@ -47,7 +47,7 @@
X...
d zc.buildout-...egg
-Now trying the `--version` option, that let you define a version for
+Now trying the `--version` option, that let you define a version for
`zc.buildout`. If not provided, bootstrap will look for the latest one.
Let's try with an unknown version::
@@ -66,17 +66,17 @@
<BLANKLINE>
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(
... 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
Generated script '/sample/bin/buildout'.
<BLANKLINE>
X
-
+
Let's make sure the generated `buildout` script uses it::
>>> buildout_script = join(sample_buildout, 'bin', 'buildout')
@@ -86,7 +86,7 @@
import sys
sys.path[0:0] = [
'/sample/eggs/setuptools-...egg',
- '/sample/eggs/zc.buildout-1.1.1...egg',
+ '/sample/eggs/zc.buildout-1.1.2...egg',
]
<BLANKLINE>
import zc.buildout.buildout
More information about the Checkins
mailing list