#80 unittest regressions

closed-fixed
nobody
None
5
2011-07-20
2011-07-12
No

Looks like some unittests were reorganized and the python-3.2 fixes applied here: https://sourceforge.net/tracker/index.php?func=detail&aid=3303733&group_id=38414&atid=422032 regressede.

Attaching patches to fix this that apply to both 0.8 and current trunk.

Discussion

  • Toshio Kuratomi

    Toshio Kuratomi - 2011-07-12
     
  • Toshio Kuratomi

    Toshio Kuratomi - 2011-07-12

    docutils-encoding.patch removes logic that reopens a file() immediately after we carefully opened it using different strategies on python2.x and python3.x.

    docutils-test-exceptions.patch names the Exception object that we catch so that it can be referenced later.

     
  • Günter Milde

    Günter Milde - 2011-07-20
    • status: open --> closed-fixed
     
  • Günter Milde

    Günter Milde - 2011-07-20

    Thank you for your contribution! It has been checked in to the
    Docutils repository.

    You can download the most current snapshot from:
    http://docutils.sourceforge.net/docutils-snapshot.tgz

     

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks