> Some times I just want to execute the doctests for one particular
> function in one module, so I do this:
>
> $ nosetests --with-doctests mymodule.py:my_function
>
> That works OK. But is there a better way?
Nope. That's the way specifying which tests to run works. I'm not sure
how else it *could* work -- do you have any suggestions? When you ask
if there's a better way, what do you have in mind? What's better than
passing test names on the command line?
JP
How could I run all the doctests in a particular file? That's what I
couldn't figure out.