def _run_doctest_report(self, testdir, format):
    testdir.makepyfile("\n            def foo():\n                '''\n                >>> foo()\n                   a  b\n                0  1  4\n                1  2  4\n                2  3  6\n                '''\n                print('   a  b\\n'\n                      '0  1  4\\n'\n                      '1  2  5\\n'\n                      '2  3  6')\n            ")
    return testdir.runpytest('--doctest-modules', '--doctest-report', format)
def _run_doctest_report(self, testdir, format):
    testdir.makepyfile("\n            def foo():\n                '\n                >>> foo()\n                   a  b\n                0  1  4\n                1  2  4\n                2  3  6\n                '\n                print('   a  b\\n'\n                      '0  1  4\\n'\n                      '1  2  5\\n'\n                      '2  3  6')\n            ")
    return testdir.runpytest('--doctest-modules', '--doctest-report', format)