Commit 5704cb03 authored by regebro's avatar regebro

The doctests has been beating into submission, and now run on Python 2.4, 2.5 and 2.6.


git-svn-id: http://svn.zope.org/repos/main/zc.buildout/trunk@98109 62d5b8a3-27da-0310-9561-8e5933582275
parent 56161f56
...@@ -589,13 +589,14 @@ if os.path.exists(bootstrap_py): ...@@ -589,13 +589,14 @@ if os.path.exists(bootstrap_py):
>>> write('bootstrap.py', open(bootstrap_py).read()) >>> write('bootstrap.py', open(bootstrap_py).read())
>>> 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'), # doctest: +ELLIPSIS ... 'bootstrap.py'); print 'X' # doctest: +ELLIPSIS
X... X...
Creating directory '/sample/bin'. Creating directory '/sample/bin'.
Creating directory '/sample/parts'. Creating directory '/sample/parts'.
Creating directory '/sample/eggs'. Creating directory '/sample/eggs'.
Creating directory '/sample/develop-eggs'. Creating directory '/sample/develop-eggs'.
Generated script '/sample/bin/buildout'. Generated script '/sample/bin/buildout'.
...
>>> ls(sample_buildout) >>> ls(sample_buildout)
d bin d bin
...@@ -1723,7 +1724,7 @@ def install_source_dist_with_bad_py(): ...@@ -1723,7 +1724,7 @@ def install_source_dist_with_bad_py():
... scripts = buildout=bo ... scripts = buildout=bo
... ''' % globals()) ... ''' % globals())
>>> print system(buildout), # doctest: +ELLIPSIS >>> print system(buildout);print 'X' # doctest: +ELLIPSIS
Installing eggs. Installing eggs.
Getting distribution for 'badegg'. Getting distribution for 'badegg'.
Got badegg 1. Got badegg 1.
......
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