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 cf0cad0
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@

@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('makepyfile', 'testdir', 'tmpdir,run')(
testdir.makepyfile,
testdir.tmpdir,
lambda bin, *args: testdir.run(bin + '.exe' if sys.platform == 'win32' else bin, *args),
)


Expand Down

0 comments on commit cf0cad0

Please sign in to comment.