Paddy <[EMAIL PROTECTED]> wrote:

> I monitor changes to the Wikipedia doctest page, and so noticed a
> change in the Ruby implementation of doctest.
> 
> Scooting around their implementation I found that they have an !!!
> special directive that says drop into the interpreter at this point
> when testing allowing debugging in context.
> http://github.com/tablatom/rubydoctest/wikis/special-directives
> 
Whereas Python has the more wordy version which works anywhere in ordinary 
code or in doctests:

>>> import pdb; pdb.set_trace()


-- 
Duncan Booth http://kupuguy.blogspot.com
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to