Peter Donis added the comment: I've uploaded a revised diff with two small improvements:
(1) Removed a redundant os.isfile check in PackageLoaderTestImporter.get_data() in doctest_testfile.py. (The open() builtin already raises IOError if the file can't be opened.) (2) Added doctest.master = None in three places in doctest_testfile.py so the expected output is now nothing instead of three lines of *** DocTestRunner.merge: 'doctest_testfile.txt' in both testers; summing outcomes. Changed the expected output in test_doctest.py to correspond. Added file: http://bugs.python.org/file9142/doctest-fixes1.diff __________________________________ Tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue1812> __________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com