Skip to content

Commit 5c51bc1

Browse files
authored
TST: un-xfail clipboard test on mac (#49270)
1 parent f11fac3 commit 5c51bc1

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

pandas/tests/io/test_clipboard.py

+2-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import numpy as np
55
import pytest
66

7+
from pandas.compat import is_platform_mac
78
from pandas.errors import (
89
PyperclipException,
910
PyperclipWindowsException,
@@ -393,7 +394,7 @@ def test_round_trip_valid_encodings(self, enc, df):
393394
@pytest.mark.single_cpu
394395
@pytest.mark.parametrize("data", ["\U0001f44d...", "Ωœ∑´...", "abcd..."])
395396
@pytest.mark.xfail(
396-
os.environ.get("DISPLAY") is None,
397+
os.environ.get("DISPLAY") is None and not is_platform_mac(),
397398
reason="Cannot be runed if a headless system is not put in place with Xvfb",
398399
strict=True,
399400
)

0 commit comments

Comments
 (0)