Message99729
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. |
|
Date |
User |
Action |
Args |
2010-02-22 13:01:04 | dastagg | set | recipients:
+ dastagg |
2010-02-22 13:01:04 | dastagg | set | messageid: <1266843664.38.0.930233999383.issue7981@psf.upfronthosting.co.za> |
2010-02-22 13:01:02 | dastagg | link | issue7981 messages |
2010-02-22 13:01:02 | dastagg | create | |
|