def onlyPy26OrOlder(test):

    @functools.wraps(test)
    def wrapper(*args, **kwargs):
        msg = "{name} only runs on Python2.6.x or older".format(name=test.__name__)
        if sys.version_info >= (2, 7):
            raise SkipTest(msg)
        return test(*args, **kwargs)
    return wrapper
Line of sight search from current position. If a block is
dataset/ETHPy150Open shazow/urllib3/test/__init__.py/onlyPy26OrOlder--crossover with--dataset/ETHPy150Open traverseda/pycraft/pycraft/world.py/World.hit_test