def test_txtfile_with_fixtures(self, testdir):
    p = testdir.maketxtfile("\n            >>> dir = getfixture('tmpdir')\n            >>> type(dir).__name__\n            'LocalPath'\n        ")
    reprec = testdir.inline_run(p)
    reprec.assertoutcome(passed=1)
def test_txtfile_with_fixtures(self, testdir):
    p = testdir.maketxtfile("\n            >>> dir = getfixture('tmpdir')\n            >>> type(dir).__name__\n            'LocalPath'\n        ")
    reprec = testdir.inline_run(p)
    reprec.assertoutcome(passed=1)