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 has_refcount_gc
from .compat import inspect_getfullargspec
from .compat import int_types
+from .compat import is64bit
from .compat import iterbytes
from .compat import itertools_filter
from .compat import itertools_filterfalse
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