From 338a77add0e5c7674346deda97bfbb821ff25571 Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Sun, 23 Jan 2022 12:12:13 -0800 Subject: [PATCH 1/2] CI: Use xsel instead of xclip for numpydev --- .github/workflows/posix.yml | 2 +- 1 file changed, 1 insertion(+), 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", "", "", "", "", ""], ] From 961c3b233dd3fdea74f852ff29ca8f07ed1e567a Mon Sep 17 00:00:00 2001 From: Matthew Roeschke Date: Mon, 24 Jan 2022 09:51:04 -0800 Subject: [PATCH 2/2] Xfail strict=False test --- pandas/tests/io/test_clipboard.py | 5 +++++ 1 file changed, 5 insertions(+) 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)