def pytest_generate_tests(metafunc):

    if metafunc.fixturenames in 'fargs':
        fargs = []
        if metafunc.config.option.all:
            shape1_rng = [2, 3, 4, 5]
            shape2_rng = [3, 5, 10, 20]
            mag_rng = [3, 5, 10, 20]
        else:
            shape1_rng = [3]
            shape2_rng = [5]
            mag_rng = [10]
        fargs = itt.product(shape1_rng, shape2_rng, mag_rng)
        metafunc.parametrize('fargs', fargs)
dataset/ETHPy150Open NervanaSystems/neon/tests/test_costs.py/pytest_generate_tests/swapped operands of `in`