lambda: util.cpython, "cPython interpreter needed"
)
+ @property
+ def is64bit(self):
+ return exclusions.only_if(lambda: util.is64bit, "64bit required")
+
@property
def patch_library(self):
def check_lib():
from .compat import dottedgetter as dottedgetter
from .compat import has_refcount_gc as has_refcount_gc
from .compat import inspect_getfullargspec as inspect_getfullargspec
+from .compat import is64bit as is64bit
from .compat import local_dataclass_fields as local_dataclass_fields
from .compat import osx as osx
from .compat import py310 as py310
win32 = sys.platform.startswith("win")
osx = sys.platform.startswith("darwin")
arm = "aarch" in platform.machine().lower()
+is64bit = platform.architecture()[0] == "64bit"
has_refcount_gc = bool(cpython)
"concrete": True,
}
- @testing.combinations("tuples", "memory", argnames="assert_on")
+ Base.registry.configure()
+
+ @testing.combinations(
+ "tuples", ("memory", testing.requires.is64bit), argnames="assert_on"
+ )
def test_cache_key_gen(self, assert_on):
Employee = self.classes.Employee