[Checkins] SVN: zc.buildout/branches/help-api/src/zc/buildout/tests.py The doctests has been beating into submission, and now run on Python 2.4, 2.5 and 2.6.

Godefroid Chapelle gotcha at bubblenet.be
Sun Mar 29 17:28:21 EDT 2009


Log message for revision 98568:
  The doctests has been beating into submission, and now run on Python 2.4, 2.5 and 2.6.

Changed:
  U   zc.buildout/branches/help-api/src/zc/buildout/tests.py

-=-
Modified: zc.buildout/branches/help-api/src/zc/buildout/tests.py
===================================================================
--- zc.buildout/branches/help-api/src/zc/buildout/tests.py	2009-03-29 21:28:14 UTC (rev 98567)
+++ zc.buildout/branches/help-api/src/zc/buildout/tests.py	2009-03-29 21:28:21 UTC (rev 98568)
@@ -589,13 +589,14 @@
     >>> write('bootstrap.py', open(bootstrap_py).read())
     >>> print 'X'; print system(
     ...     zc.buildout.easy_install._safe_arg(sys.executable)+' '+
-    ...     'bootstrap.py'), # doctest: +ELLIPSIS
+    ...     'bootstrap.py'); print 'X' # doctest: +ELLIPSIS
     X...
     Creating directory '/sample/bin'.
     Creating directory '/sample/parts'.
     Creating directory '/sample/eggs'.
     Creating directory '/sample/develop-eggs'.
     Generated script '/sample/bin/buildout'.
+    ...
 
     >>> ls(sample_buildout)
     d  bin
@@ -2133,7 +2134,7 @@
     ... scripts = buildout=bo
     ... ''' % globals())
 
-    >>> print system(buildout), # doctest: +ELLIPSIS
+    >>> print system(buildout);print 'X' # doctest: +ELLIPSIS
     Installing eggs.
     Getting distribution for 'badegg'.
     Got badegg 1.



More information about the Checkins mailing list