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 Julien.Palard
Recipients Julien.Palard, demian.brecht, fva
Date 2014-12-23.17:25:06
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1419355506.39.0.77810297941.issue23043@psf.upfronthosting.co.za>
In-reply-to
Content
Works for me in 2.7.8:

$ python --version
Python 2.7.8
# cat /tmp/test.py
#!/usr/bin/env python

from __future__ import print_function


def toto():
    """
    >>> print (42, 43)
    42 43
    """
    return 42
$ python -m doctest -v /tmp/test.py 
Trying:
    print (42, 43)
Expecting:
    42 43
ok
1 items had no tests:
    test
1 items passed all tests:
   1 tests in test.toto
1 tests in 2 items.
1 passed and 0 failed.
Test passed.
History
Date User Action Args
2014-12-23 17:25:06Julien.Palardsetrecipients: + Julien.Palard, demian.brecht, fva
2014-12-23 17:25:06Julien.Palardsetmessageid: <1419355506.39.0.77810297941.issue23043@psf.upfronthosting.co.za>
2014-12-23 17:25:06Julien.Palardlinkissue23043 messages
2014-12-23 17:25:06Julien.Palardcreate