From b0632e6975d2f643c444e5280a52ed2dd167b16b Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Mon, 24 Jan 2022 14:27:40 -0800 Subject: [PATCH] Backport PR #45576: CI: Use xsel instead of xclip for numpydev --- .github/workflows/posix.yml | 2 +- pandas/tests/io/test_clipboard.py | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/.github/workflows/posix.yml b/.github/workflows/posix.yml index 135ca0703de8b..1cc8188919980 100644 --- a/.github/workflows/posix.yml +++ b/.github/workflows/posix.yml @@ -35,7 +35,7 @@ jobs: [actions-pypy-38.yaml, "not slow and not clipboard", "", "", "", "", "--max-worker-restart 0"], [actions-39.yaml, "slow", "", "", "", "", ""], [actions-39.yaml, "not slow and not clipboard", "", "", "", "", ""], - [actions-310-numpydev.yaml, "not slow and not network", "xclip", "", "", "deprecate", "-W error"], + [actions-310-numpydev.yaml, "not slow and not network", "xsel", "", "", "deprecate", "-W error"], [actions-310.yaml, "not slow and not clipboard", "", "", "", "", ""], [actions-310.yaml, "slow", "", "", "", "", ""], ] diff --git a/pandas/tests/io/test_clipboard.py b/pandas/tests/io/test_clipboard.py index 40b2eb1f4114b..4a53705193e99 100644 --- a/pandas/tests/io/test_clipboard.py +++ b/pandas/tests/io/test_clipboard.py @@ -307,6 +307,11 @@ def test_round_trip_valid_encodings(self, enc, df): @pytest.mark.single @pytest.mark.clipboard @pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."]) +@pytest.mark.xfail( + reason="Flaky test in multi-process CI environment: GH 44584", + raises=AssertionError, + strict=False, +) def test_raw_roundtrip(data): # PR #25040 wide unicode wasn't copied correctly on PY3 on windows clipboard_set(data)