Using 
assertThat(result.errors[0][1], DocTestMatches("""...ValueError...testtools/tests/test_testcase.py""", doctest.ELLIPSIS))
will likely work better on python 3.4