def test_doctestmodule_with_fixtures(self, testdir):
    p = testdir.makepyfile("\n            '''\n                >>> dir = getfixture('tmpdir')\n                >>> type(dir).__name__\n                'LocalPath'\n            '''\n        ")
    reprec = testdir.inline_run(p, '--doctest-modules')
    reprec.assertoutcome(passed=1)
def test_doctestmodule_with_fixtures(self, testdir):
    p = testdir.makepyfile("\n            '\n                >>> dir = getfixture('tmpdir')\n                >>> type(dir).__name__\n                'LocalPath'\n            '\n        ")
    reprec = testdir.inline_run(p, '--doctest-modules')
    reprec.assertoutcome(passed=1)