Skip to content

Commit 14be290

Browse files
committed
made more specific xfail
1 parent bbf98da commit 14be290

File tree

1 file changed

+6
-4
lines changed

1 file changed

+6
-4
lines changed

pydra/compose/shell/tests/test_shell_run.py

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2250,10 +2250,12 @@ class Outputs(shell.Outputs):
22502250
assert outputs.out1.fspath.exists()
22512251

22522252

2253-
# @pytest.mark.xfail(
2254-
# sys.platform == "linux" and sys.version_info < (3, 12),
2255-
# reason="I'm not sure why this is failing but only on Linux pre with Python < 3.12",
2256-
# )
2253+
@pytest.mark.xfail(
2254+
sys.platform == "linux"
2255+
and sys.version_info < (3, 12)
2256+
and os.environ.get("DEPENDS") == "pre",
2257+
reason="I'm not sure why this is failing only on this part of the test matrix, hoping it will just go away :)",
2258+
)
22572259
@pytest.mark.parametrize("results_function", [run_no_submitter, run_submitter])
22582260
def test_shell_cmd_outputspec_7(tmp_path, worker, results_function):
22592261
"""

0 commit comments

Comments
 (0)