def test_junit_report_for_doctest(self, testdir):
    '\n        #713: Fix --junit-xml option when used with --doctest-modules.\n        '
    p = testdir.makepyfile("\n            def foo():\n                '''\n                >>> 1 + 1\n                3\n                '''\n                pass\n        ")
    reprec = testdir.inline_run(p, '--doctest-modules', '--junit-xml=junit.xml')
    reprec.assertoutcome(failed=1)
#713: Fix --junit-xml option when used with --doctest-modules.
def test_junit_report_for_doctest(self, testdir):
    '\n        \n        '
    p = testdir.makepyfile("\n            def foo():\n                '\n                >>> 1 + 1\n                3\n                '\n                pass\n        ")
    reprec = testdir.inline_run(p, '--doctest-modules', '--junit-xml=junit.xml')
    reprec.assertoutcome(failed=1)