Skip to content

Commit

Permalink
Add missing method.
Browse files Browse the repository at this point in the history
  • Loading branch information
ionelmc committed Oct 28, 2024
1 parent 8e30fe3 commit 3b52e03
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,11 @@

@pytest.fixture
def testdir(testdir, monkeypatch):
return namedtuple('testdir', 'tmpdir,run')(
testdir.tmpdir, lambda bin, *args: testdir.run(bin + '.exe' if sys.platform == 'win32' else bin, *args)
return namedtuple('testdir', ['makepyfile', 'runpytest_subprocess', 'tmpdir', 'run'])(
testdir.makepyfile,
testdir.runpytest_subprocess,
testdir.tmpdir,
lambda bin, *args: testdir.run(bin + '.exe' if sys.platform == 'win32' else bin, *args),
)


Expand Down

0 comments on commit 3b52e03

Please sign in to comment.