benji-york/manuel — pull request #4 by rkuska (2014-05-19 07:23:10+00:00)
Title: Fixes doctests to pass on python3.4

We are in process of rebuilding packages with the new release of Python 3.4 in Fedora.

Manuel fails on doctests, see:
```
/builddir/build/BUILD/python3-python-manuel-1.7.2-5.fc21/src/manuel/capture.txt:Error reporting
/builddir/build/BUILD/python3-python-manuel-1.7.2-5.fc21/src/manuel/capture.txt:Error reporting ... ok
turtle_on_the_bottom_test (manuel.tests)
Doctest: manuel.tests.turtle_on_the_bottom_test ... ok
======================================================================
FAIL: /builddir/build/BUILD/python3-python-manuel-1.7.2-5.fc21/src/manuel/README.txt:Parsing
/builddir/build/BUILD/python3-python-manuel-1.7.2-5.fc21/src/manuel/README.txt:Parsing
----------------------------------------------------------------------
Traceback (most recent call last):
File "/builddir/build/BUILD/python3-python-manuel-1.7.2-5.fc21/src/manuel/testing.py", line 44, in runTest
'\n' + DIVIDER + DIVIDER.join(results))
AssertionError:
----------------------------------------------------------------------
File "/builddir/build/BUILD/python3-python-manuel-1.7.2-5.fc21/src/manuel/README.txt", line 83, in README.txt
Failed example:
region.start_match
Expected:
<_sre.SRE_Match object at 0x...>
Got:
<_sre.SRE_Match object; span=(44, 56), match='one: 1, 2, 3'>
----------------------------------------------------------------------
File "/builddir/build/BUILD/python3-python-manuel-1.7.2-5.fc21/src/manuel/README.txt", line 85, in README.txt
Failed example:
region.end_match
Expected:
<_sre.SRE_Match object at 0x...>
Got:
<_sre.SRE_Match object; span=(70, 84), match='three: 3, 5, 1'>
----------------------------------------------------------------------
Ran 59 tests in 0.166s
FAILED (failures=1)
```

It looks like module `re` changed it's string representation.