Exemple #1
0
    def setup(module):
        setup_autokill(module.__name__, timeout=300)

        def teardown():
            teardown_autokill(module.__name__)
        request.addfinalizer(teardown)

        return parallel_numpy_fixture
Exemple #2
0
    def setup(module):
        setup_autokill(module.__name__, timeout=300)

        def teardown():
            teardown_autokill(module.__name__)

        request.addfinalizer(teardown)

        return parallel_numpy_fixture
Exemple #3
0
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__)
Exemple #4
0
def setup_module():
    setup_autokill(__name__, timeout=300)
Exemple #5
0
def setup_module():
    setup_autokill(__name__, timeout=300)