def test_doctest_skip(self, testdir):
    testdir.maketxtfile('\n            >>> 1\n            1\n            >>> import pytest\n            >>> pytest.skip("")\n        ')
    result = testdir.runpytest('--doctest-modules')
    result.stdout.fnmatch_lines(['*1 skipped*'])
def test_doctest_skip(self, testdir):
    testdir.maketxtfile('\n            >>> 1\n            1\n            >>> import pytest\n            >>> pytest.skip()\n        ')
    result = testdir.runpytest('--doctest-modules')
    result.stdout.fnmatch_lines(['*1 skipped*'])