Skip to content

Commit

Permalink
fix winmake.py test-parallel
Browse files Browse the repository at this point in the history
  • Loading branch information
giampaolo committed Dec 18, 2024
1 parent 13a336b commit b5ea67e
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions scripts/internal/winmake.py
Original file line number Diff line number Diff line change
Expand Up @@ -319,10 +319,15 @@ def install_pydeps_dev():
sh([PYTHON, "-m", "pip", "install", "--user", "-U"] + DEV_DEPS)


def test():
def test(args=None):
"""Run tests."""
build()
sh([PYTHON, "-m", "pytest"] + PYTEST_ARGS)
args = args or []
sh(
[PYTHON, "-m", "pytest", "--ignore=psutil/tests/test_memleaks.py"]
+ PYTEST_ARGS
+ args
)


def test_parallel():
Expand Down

0 comments on commit b5ea67e

Please sign in to comment.