En Mon, 17 Dec 2007 21:29:55 -0300, André <[EMAIL PROTECTED]> escribió:
>> I am using the doctest.testfile() interface to load up tests that >> resides in a text file. Here's a description of the puzzling feature. >> >> The second expected "<" fails; instead, we get "<" >> >> ==== file 3: all tests pass ==== >> title >> >>> print "<" >> < >> >>> import module_a >> >>> print "<" >> < >> >> + 400 lines of text and further tests >> ======================== Are you playing with sys.stdout, replacing it with another object, or changing its encoding? That's the only way to get "<" when printing "<" that I can think of. -- Gabriel Genellina -- http://mail.python.org/mailman/listinfo/python-list