Skip to content

Commit ee8615a

Browse files
committed
attempt to drop arm for mac
1 parent ef8354e commit ee8615a

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

tests/__init__.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
nullcontext,
66
suppress,
77
)
8-
import platform
98
import sys
109
from typing import (
1110
TYPE_CHECKING,
@@ -466,7 +465,6 @@
466465
LINUX = sys.platform == "linux"
467466
WINDOWS = sys.platform in {"win32", "cygwin"}
468467
MAC = sys.platform == "darwin"
469-
MAC_ARM = sys.platform == "darwin" and platform.processor() == "arm64"
470468
PD_LTE_23 = Version(pd.__version__) < Version("2.3.999")
471469
NUMPY20 = np.lib.NumpyVersion(np.__version__) >= "2.0.0"
472470

@@ -673,6 +671,6 @@ def pytest_warns_bounded(
673671

674672

675673
def exception_on_platform(dtype: type | str | ExtensionDtype) -> type[Exception] | None:
676-
if (WINDOWS or MAC_ARM) and dtype in {"f16", "float128"}:
674+
if (WINDOWS or MAC) and dtype in {"f16", "float128"}:
677675
return TypeError
678676
return None

0 commit comments

Comments
 (0)