[issue4197] Doctest module does not work with zipped packages

Alexander Belopolsky report at bugs.python.org
Sat Oct 25 00:12:45 CEST 2008


Alexander Belopolsky <belopolsky at users.sourceforge.net> added the comment:

The next patch, doctest-1.patch addresses the line number issue, but the 
file name is still wrong.

$ ./python.exe testmodule.zip 
**********************************************************************
File "__main__", line 2, in __main__.c
Failed example:
    'line 2'
Expected nothing
Got:
    'line 2'
**********************************************************************
1 items had failures:
   1 of   1 in __main__.c
***Test Failed*** 1 failures.

Added file: http://bugs.python.org/file11879/doctest-1.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4197>
_______________________________________


More information about the Python-bugs-list mailing list