Commit 4e492f27 authored by Gary Poster's avatar Gary Poster

fix some tests on other Python versions

parent 5d4e92e5
...@@ -232,8 +232,8 @@ Here's the entire help text. ...@@ -232,8 +232,8 @@ Here's the entire help text.
>>> print system( >>> print system(
... zc.buildout.easy_install._safe_arg(sys.executable)+' '+ ... zc.buildout.easy_install._safe_arg(sys.executable)+' '+
... 'bootstrap.py --help'), ... 'bootstrap.py --help'),
... # doctest: +ELLIPSIS ... # doctest: +ELLIPSIS +NORMALIZE_WHITESPACE
usage: [DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options] Usage: [DESIRED PYTHON FOR BUILDOUT] bootstrap.py [options]
<BLANKLINE> <BLANKLINE>
Bootstraps a buildout-based project. Bootstraps a buildout-based project.
<BLANKLINE> <BLANKLINE>
...@@ -244,7 +244,7 @@ Here's the entire help text. ...@@ -244,7 +244,7 @@ Here's the entire help text.
local resources, you can keep this script from going over the network. local resources, you can keep this script from going over the network.
<BLANKLINE> <BLANKLINE>
<BLANKLINE> <BLANKLINE>
options: Options:
-h, --help show this help message and exit -h, --help show this help message and exit
-v VERSION, --version=VERSION -v VERSION, --version=VERSION
use a specific zc.buildout version use a specific zc.buildout version
......
...@@ -3324,6 +3324,8 @@ def test_suite(): ...@@ -3324,6 +3324,8 @@ def test_suite():
zc.buildout.testing.normalize_script, zc.buildout.testing.normalize_script,
normalize_bang, normalize_bang,
(re.compile('Downloading.*setuptools.*egg\n'), ''), (re.compile('Downloading.*setuptools.*egg\n'), ''),
(re.compile('options:'), 'Options:'),
(re.compile('usage:'), 'Usage:'),
]), ]),
)) ))
......
...@@ -55,8 +55,6 @@ Now, if we run the buildout: ...@@ -55,8 +55,6 @@ Now, if we run the buildout:
Getting distribution for 'demo<0.3'. Getting distribution for 'demo<0.3'.
Got demo 0.2. Got demo 0.2.
Getting distribution for 'demoneeded'. Getting distribution for 'demoneeded'.
Getting distribution for 'setuptools'.
Got setuptools 0.6.
Got demoneeded 1.2c1. Got demoneeded 1.2c1.
Generated script '/sample-buildout/bin/demo'. Generated script '/sample-buildout/bin/demo'.
Generated interpreter '/sample-buildout/bin/py-demo'. Generated interpreter '/sample-buildout/bin/py-demo'.
...@@ -66,7 +64,6 @@ we'll get the Python 2.4 eggs for demo and demoneeded: ...@@ -66,7 +64,6 @@ we'll get the Python 2.4 eggs for demo and demoneeded:
>>> ls(sample_buildout, 'eggs') >>> ls(sample_buildout, 'eggs')
- demo-0.2-py2.4.egg - demo-0.2-py2.4.egg
- demoneeded-1.2c1-py2.4.egg - demoneeded-1.2c1-py2.4.egg
d setuptools-0.6-py2.4.egg
d setuptools-0.6-py2.5.egg d setuptools-0.6-py2.5.egg
- zc.buildout-1.0-py2.5.egg - zc.buildout-1.0-py2.5.egg
......
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