def setup(module): setup_autokill(module.__name__, timeout=300) def teardown(): teardown_autokill(module.__name__) request.addfinalizer(teardown) return parallel_numpy_fixture
def setup_module(module): numpy = None try: import numpy except ImportError: pass if numpy is None or multiprocessing is None: raise SkipTest('Skipped as numpy or multiprocessing is not available') setup_autokill(module.__name__)
def setup_module(): setup_autokill(__name__, timeout=300)