#80 unittest regressions

closed-fixed
nobody
None
5
2011-07-20
2011-07-12
Toshio Kuratomi
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

  • 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