Where does the command "ls" in some doctest files come from ?
stephane at harobed.org
Mon Sep 8 14:15:15 CEST 2008
for example, in http://svn.zope.org/zc.buildout/trunk/src/zc/buildout/
tests.py?rev=89831&view=auto test file, there is this doctests :
We should be able to deal with setup scripts that aren't setuptools based.
>>> write('foo', 'setup.py',
... from setuptools import setup
... develop = foo
... parts =
>>> print system(join('bin', 'buildout')+' -vv'), # doctest: +ELLIPSIS
>>> print system(join('bin', 'buildout')+' -vvv'), # doctest:
... -q develop -mxN -d /sample-buildout/develop-eggs/...
I wonder where does the "ls('develop-eggs')" command come from ?
It is doctest buildin command ? Where can I found some documentation
about that ? I see this page http://docs.python.org/lib/module-
doctest.html and I found nothing about that subject.
Thanks for your help,
More information about the Python-list