Skip to content

Commit d18d4c0

Browse files
authored
Install x-pth-tester unconditionally
1 parent c789a0e commit d18d4c0

2 files changed

Lines changed: 2 additions & 9 deletions

File tree

pyproject.toml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,8 @@ sources = ["src/testbed"]
1919
test_sources = ["tests"]
2020

2121
requires = [
22-
# Android can't process .pth files (see chaquo/chaquopy#1338). This also
23-
# means we can only test Linux on Python3.13+, because Android reports as
24-
# "Linux" on Python3.12 and earlier.
25-
"""x-pth-tester; \
26-
(platform_system != 'Linux' and platform_system != 'Android') \
27-
or (platform_system == 'Linux' and python_version >= '3.13')""",
22+
"x-pth-tester",
23+
2824
# Cryptography provides an ABI3 wheel for all desktop platforms, but requires cffi which doesn't.
2925
"""cryptography; \
3026
(platform_system != 'iOS' and platform_system != 'Android' and python_version < '3.14') \

tests/test_common.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
import pytest
99

10-
from .test_thirdparty import xfail_if_not_installed
11-
1210

1311
def test_bootstrap_modules():
1412
"All the bootstrap modules are importable"
@@ -448,7 +446,6 @@ def test_zoneinfo():
448446
assert str(dt) == "2022-05-04 13:40:42+08:00"
449447

450448

451-
@xfail_if_not_installed("x-pth-tester")
452449
def test_pth_handling():
453450
".pth files installed by a package are processed"
454451
import pth_tester

0 commit comments

Comments
 (0)