File tree Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Expand file tree Collapse file tree 1 file changed +1
-3
lines changed Original file line number Diff line number Diff line change 55 nullcontext ,
66 suppress ,
77)
8- import platform
98import sys
109from typing import (
1110 TYPE_CHECKING ,
466465LINUX = sys .platform == "linux"
467466WINDOWS = sys .platform in {"win32" , "cygwin" }
468467MAC = sys .platform == "darwin"
469- MAC_ARM = sys .platform == "darwin" and platform .processor () == "arm64"
470468PD_LTE_23 = Version (pd .__version__ ) < Version ("2.3.999" )
471469NUMPY20 = np .lib .NumpyVersion (np .__version__ ) >= "2.0.0"
472470
@@ -673,6 +671,6 @@ def pytest_warns_bounded(
673671
674672
675673def 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
You can’t perform that action at this time.
0 commit comments