Skip to content

Commit 8ef373f

Browse files
committed
Skip spin python on all older Pythons
1 parent fa1989b commit 8ef373f

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

spin/tests/test_build_cmds.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
import pytest
88
from testutil import (
99
skip_on_windows,
10-
skip_py38,
10+
skip_py_lt_311,
1111
skip_unless_linux,
1212
skip_unless_macos,
1313
spin,
@@ -156,7 +156,7 @@ def test_lldb():
156156
assert "hi" in stdout(p)
157157

158158

159-
@skip_py38 # python command does not run on py38
159+
@skip_py_lt_311 # python command does not run on older pythons
160160
def test_parallel_builds():
161161
spin("build")
162162
spin("build", "-C", "parallel-build")

spin/tests/testutil.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@
1717
not sys.platform.startswith("darwin"), reason="Skipped; platform not macOS"
1818
)
1919

20-
skip_py38 = pytest.mark.skipif(
21-
sys.version_info[:2] == (3, 8), reason="Skipped; Python 3.8"
20+
skip_py_lt_311 = pytest.mark.skipif(
21+
sys.version_info[:2] < (3, 11), reason="Skipped; Python < 3.11"
2222
)
2323

2424

0 commit comments

Comments
 (0)