parameters: (self)
docstring: Regression test: Check whether a test run with a erroneous test
          matches a previous run.
docstring_summary: Regression test: Check whether a test run with a erroneous test
          matches a previous run.
docstring_tokens: Regression test : Check whether a test run with a erroneous test matches a previous run .
function: def test_error(self):
          """Regression test: Check whether a test run with a erroneous test
          matches a previous run.
          
          """
          class TestTest(unittest.TestCase):
              def test_foo(self):
                  raise IndexError()
          self._try_test_run(TestTest, """<testsuite errors="1" failures="0" name="unittest.TestSuite" tests="1" time="0.000">
    <testcase classname="__main__.TestTest" name="test_foo" time="0.000">
      <error type="exceptions.IndexError">Foobar</error>
    </testcase>
    <system-out><![CDATA[]]></system-out>
    <system-err><![CDATA[]]></system-err>
  </testsuite>
  """)
function_tokens: def test_error ( self ) : class TestTest ( unittest . TestCase ) : def test_foo ( self ) : raise IndexError ( ) self . _try_test_run ( TestTest , """<testsuite errors="1" failures="0" name="unittest.TestSuite" tests="1" time="0.000">
    <testcase classname="__main__.TestTest" name="test_foo" time="0.000">
      <error type="exceptions.IndexError">Foobar</error>
    </testcase>
    <system-out><![CDATA[]]></system-out>
    <system-err><![CDATA[]]></system-err>
  </testsuite>
  """ )