Skip to content

Commit 655b797

Browse files
committed
Disable temporarily yup_events python tests
1 parent 2fb4cea commit 655b797

File tree

2 files changed

+4
-3
lines changed

2 files changed

+4
-3
lines changed

python/pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ testpaths = ["tests"]
2424
[tool.cibuildwheel]
2525
build-verbosity = 3
2626
test-requires = "pytest" # mypy numpy imageio
27-
test-command = "pytest -s {project}/python/tests"
27+
test-command = "pytest -s {project}/python/tests -vvv"
2828
manylinux-i686-image = "manylinux_2_28"
2929
manylinux-x86_64-image = "manylinux_2_28"
3030
manylinux-aarch64-image = "manylinux_2_28"
@@ -38,7 +38,7 @@ before-build = [
3838
]
3939

4040
test-command = [
41-
"xvfb-run -a -s \"-screen 0 1024x768x24\" pytest -s {project}/python/tests"
41+
"xvfb-run -a -s \"-screen 0 1024x768x24\" pytest -s {project}/python/tests -vvv"
4242
# """xvfb-run -a -s \"-screen 0 1024x768x24\" pytest -s {project}/python/tests || \
4343
# { (mkdir -p /output/compare_data && cp {project}/python/tests/compare_data/* /output/compare_data/) ; exit 1 ; }"""
4444
]
Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
11
import pytest
2+
import sys
23

34
from .. import common
45

56
import yup
67

7-
if not hasattr(yup, "MessageManager") or not hasattr(yup, "YUPApplication"):
8+
if sys.platform != "darwin" or not hasattr(yup, "MessageManager") or not hasattr(yup, "YUPApplication"):
89
pytest.skip(allow_module_level=True)

0 commit comments

Comments
 (0)