def setup_method(self, meth): if getattr(meth, 'need_sparse_files', False): if sys.maxsize < 2**32 and not self.runappdirect: # this fails because it uses ll2ctypes to call the posix # functions like 'open' and 'lseek', whereas a real compiled # C program would macro-define them to their longlong versions py.test.skip("emulation of files can't use " "larger-than-long offsets") need_sparse_files()
def setup_method(self, meth): if getattr(meth, 'need_sparse_files', False): if sys.maxsize < 2**32 and not self.runappdirect: # this fails because it uses ll2ctypes to call the posix # functions like 'open' and 'lseek', whereas a real compiled # C program would macro-define them to their longlong versions py.test.skip("emulation of files can't use " "larger-than-long offsets") need_sparse_files()
def setup_method(self, meth): if getattr(meth, 'need_sparse_files', False): need_sparse_files()
def setup_method(self, meth): if getattr(meth, "need_sparse_files", False): need_sparse_files()
def setup_method(self, meth): if getattr(meth, 'need_sparse_files', False): from rpython.translator.c.test.test_extfunc import need_sparse_files need_sparse_files()
def setup_method(self, meth): if getattr(meth, 'need_sparse_files', False): from rpython.translator.c.test.test_extfunc import need_sparse_files need_sparse_files()