Skip to content

Commit

Permalink
tests: fix windows
Browse files Browse the repository at this point in the history
  • Loading branch information
casperdcl committed Feb 6, 2024
1 parent 656bb16 commit 08431aa
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions tests/tests_main.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@ def _sh(*cmd, **kwargs):

def test_main():
"""Test execution"""
res = _sh(sys.executable, '-c', ('\
import pymake; pymake.main(["-f", "%s"])' % fname).strip(),
res = _sh(sys.executable, '-c', f'import pymake; pymake.main(["-f", "{fname}"])',
stderr=subprocess.STDOUT)

# actual test:
Expand Down

0 comments on commit 08431aa

Please sign in to comment.