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 serhiy.storchaka
Recipients serhiy.storchaka, skrah
Date 2013-01-26.13:35:34
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1359207337.13.0.919853887813.issue17041@psf.upfronthosting.co.za>
In-reply-to
Content
Some tests failed when Python built without docstrings (--without-doc-strings options). Proposed patch fixes most of tests.

Only doctests in test_generators and test_genexps don't fixed. I don't know how to make doctests conditional.

[135/372] test_generators
**********************************************************************
File "/home/serhiy/py/cpython-without-doc-strings/Lib/test/test_generators.py", line ?, in test.test_generators.__test__.email
Failed example:
    print(i.__next__.__doc__)
Expected:
    x.__next__() <==> next(x)
Got:
    <BLANKLINE>
**********************************************************************
1 items had failures:
   1 of  31 in test.test_generators.__test__.email
***Test Failed*** 1 failures.
test test_generators failed -- 1 of 287 doctests failed

[137/372/1] test_genexps
**********************************************************************
File "/home/serhiy/py/cpython-without-doc-strings/Lib/test/test_genexps.py", line ?, in test.test_genexps.__test__.doctests
Failed example:
    print(g.__next__.__doc__)
Expected:
    x.__next__() <==> next(x)
Got:
    <BLANKLINE>
**********************************************************************
1 items had failures:
   1 of  75 in test.test_genexps.__test__.doctests
***Test Failed*** 1 failures.
test test_genexps failed -- 1 of 75 doctests failed
History
Date User Action Args
2013-01-26 13:35:37serhiy.storchakasetrecipients: + serhiy.storchaka, skrah
2013-01-26 13:35:37serhiy.storchakasetmessageid: <1359207337.13.0.919853887813.issue17041@psf.upfronthosting.co.za>
2013-01-26 13:35:37serhiy.storchakalinkissue17041 messages
2013-01-26 13:35:35serhiy.storchakacreate