import sys import tables import tables._comp_bzip2 # We don't build this one on Windows. if not sys.platform == "win32": import tables._comp_lzo import tables.hdf5extension import tables.indexesextension import tables.linkextension import tables.lrucacheextension import tables.tableextension import tables.utilsextension tables.print_versions() if sys.platform.startswith('linux'): lzo_ver = tables.which_lib_version("lzo")[1] assert lzo_ver == '2.06', lzo_ver if sys.platform == 'win32': print(""" Skipping tables.test() on Windows. There is currently one test failure, and we have to look into this. """) else: from multiprocessing import freeze_support freeze_support() tables.test()
import sys import tables import tables._comp_bzip2 # We don't build this one on Windows. if not sys.platform == "win32": import tables._comp_lzo import tables.hdf5extension import tables.indexesextension import tables.linkextension import tables.lrucacheextension import tables.tableextension import tables.utilsextension tables.print_versions() if sys.platform.startswith('linux'): lzo_ver = tables.which_lib_version("lzo")[1] assert lzo_ver == '2.06', lzo_ver from multiprocessing import freeze_support freeze_support() tables.test()
def test(self): import tables tables.test()
import tables from proteus import Comm comm = Comm.init() if comm.isMaster(): tables.test(verbose=2) print("PEXPECT_EXIT")