Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#3 Python 2.4 changes doctest slightly

closed-accepted
nobody
None
5
2006-02-26
2004-12-09
David M. Cooke
No

The doctests that check errors in
tests/gmpy_test_rnd.py fail with Python 2.4, as the
'File ...' line between the 'Traceback' and '..Error:'
lines is not idented. While these pass for Pythons <
2.4, they don't in 2.4. This patch fixes that.

Note that one test still fails, as the error message
given by 2.4 is slightly different (that's the problem
with using doctest, I guess).

Discussion

  • David M. Cooke
    David M. Cooke
    2004-12-09

    fix doctests for Python 2.4

     
    Attachments
  • Alex Martelli
    Alex Martelli
    2006-02-26

    • status: open --> closed-accepted