def test_doctest_report_invalid(self, testdir):
    result = self._run_doctest_report(testdir, 'obviously_invalid_format')
    result.stderr.fnmatch_lines(["*error: argument --doctest-report: invalid choice: 'obviously_invalid_format' (choose from*"])
def test_doctest_report_invalid(self, testdir):
    result = self._run_doctest_report(testdir, 'obviously_invalid_format')
    result.stderr.fnmatch_lines(["*error: argument --doctest-report: invalid choice: 'obviously_invalid_format' (choose from*"])