def onlyPy2(test):

    @functools.wraps(test)
    def wrapper(*args, **kwargs):
        msg = "{name} requires Python 2.x to run".format(name=test.__name__)
        if six.PY3:
            raise SkipTest(msg)
        return test(*args, **kwargs)
    return wrapper
Makes small forward jump - a thin wrapper over drive().
dataset/ETHPy150Open shazow/urllib3/test/__init__.py/onlyPy2--crossover with--dataset/ETHPy150Open IEEERobotics/bot/bot/driver/mec_driver.py/MecDriver.jerk