[Zope3-dev] Re: [Zope-Checkins] CVS: Zope3/src/persistent/tests-
test_persistent.py:1.5 persistent.txt:1.2
Chris Withers
lists at simplistix.co.uk
Thu Mar 11 07:00:21 EST 2004
Shane Hathaway wrote:
>> How would a user execute these examples?
>
> Hey, that's an idea: add '#!/usr/bin/doctest' to the top (Or some
> variation thereof) and 'chmod a+x README.txt'. That would be cool. To
> run the tests, type './README.txt'.
*grinz* I like it, but that wasn't quite my point... how do you take the
examples and excute them in another python shell, or some other python context?
Chris
--
Simplistix - Content Management, Zope & Python Consulting
- http://www.simplistix.co.uk
More information about the Zope3-dev
mailing list