From e8b2b9baca9d4ad8d5d4d21028e29e8a862d3503 Mon Sep 17 00:00:00 2001 From: Andrew Murray Date: Mon, 18 Apr 2022 12:53:55 +1000 Subject: [PATCH] Use python3 --- .github/workflows/test-windows.yml | 4 ++-- winbuild/build.rst | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/test-windows.yml b/.github/workflows/test-windows.yml index 6ed8bb0c5..30e262eeb 100644 --- a/.github/workflows/test-windows.yml +++ b/.github/workflows/test-windows.yml @@ -43,8 +43,8 @@ jobs: - name: Print build system information run: python .github/workflows/system-info.py - - name: python -m pip install wheel pytest pytest-cov pytest-timeout defusedxml - run: python -m pip install wheel pytest pytest-cov pytest-timeout defusedxml + - name: python3 -m pip install wheel pytest pytest-cov pytest-timeout defusedxml + run: python3 -m pip install wheel pytest pytest-cov pytest-timeout defusedxml - name: Install dependencies id: install diff --git a/winbuild/build.rst b/winbuild/build.rst index 661c5a5ec..6e496b9cb 100644 --- a/winbuild/build.rst +++ b/winbuild/build.rst @@ -91,7 +91,7 @@ Some binary dependencies (e.g. ``fribidi.dll``) will be stored in the ``winbuild\build\bin`` directory; this directory should be added to ``PATH`` before running tests. -Build and install Pillow, then run ``python -m pytest Tests`` +Build and install Pillow, then run ``python3 -m pytest Tests`` from the root Pillow directory. Example