doctesting practices

2008-08-27 Thread Alia Khouri
I was wondering the other day how other pythonistas incorporate doctests into their coding practices. I have acquired the habit of keeping an editor open in one window and an ipython instance open in another and then using something similar to the format of the module below. In this case, I incorpo

Re: doctesting

2007-01-02 Thread Ben Artin
In article <[EMAIL PROTECTED]>, belinda thom <[EMAIL PROTECTED]> wrote: > I'd like to write a tester script that I can place in one place (say > ~/bin/python/tester.py) and then have it visible to me at the cmd- > line (by setting the path variable appropriately). I have had no > luck in ge

Re: doctesting

2007-01-02 Thread Peter Otten
belinda thom wrote: > I'd like to write a tester script that I can place in one place (say > ~/bin/python/tester.py) and then have it visible to me at the cmd- > line (by setting the path variable appropriately). I have had no > luck in getting it to work, however. > > It appears like the doctes

doctesting

2007-01-02 Thread belinda thom
Hi, I'd like to write a tester script that I can place in one place (say ~/bin/python/tester.py) and then have it visible to me at the cmd- line (by setting the path variable appropriately). I have had no luck in getting it to work, however. It appears like the doctest code itself assumes t