Message180668
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 |
|
Date |
User |
Action |
Args |
2013-01-26 13:35:37 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, skrah |
2013-01-26 13:35:37 | serhiy.storchaka | set | messageid: <1359207337.13.0.919853887813.issue17041@psf.upfronthosting.co.za> |
2013-01-26 13:35:37 | serhiy.storchaka | link | issue17041 messages |
2013-01-26 13:35:35 | serhiy.storchaka | create | |
|