David W. Lambert <lamber...@corning.com> added the comment: For unittests I recommend two things instead of need for doctest change. A decoupled strict test to prove that the iterator works, and this class to publish,
class Tped_use_cases(...): def test_Marker_iteration(self): ''' Illustrative code adapted from what is now your doctest ''' ... _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue4899> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com