This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author dastagg
Recipients dastagg
Date 2010-02-22.13:01:01
SpamBayes Score 0.008654887
Marked as misclassified No
Message-id <1266843664.38.0.930233999383.issue7981@psf.upfronthosting.co.za>
In-reply-to
Content
Running the same test file in both:
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
Python 3.1.1 (r311:74480, Feb 14 2010, 15:55:41) 

python -m doctest test2.txt and
python3 -m doctest test2.txt

No failure in 2.6.2.
For 3.1.1:

File "test2.txt", line 9, in test2.txt
Failed example:
    sys.stdout.write("This text\n contains weird     spacing.")
    # doctest: +NORMALIZE_WHITESPACE
Expected:
    This text contains weird spacing.
Got:
    This text
     contains weird     spacing.38
**********************************************************************
1 items had failures:
   1 of   3 in test2.txt
***Test Failed*** 1 failures.
History
Date User Action Args
2010-02-22 13:01:04dastaggsetrecipients: + dastagg
2010-02-22 13:01:04dastaggsetmessageid: <1266843664.38.0.930233999383.issue7981@psf.upfronthosting.co.za>
2010-02-22 13:01:02dastagglinkissue7981 messages
2010-02-22 13:01:02dastaggcreate