def pyblock(self, n):
        i = 2
        while i < n:
            if n % i == 0:
                return i
            i+= 1
        return None
A naive primality test. 
dataset/ETHPy150Open ooici/pyon/pyon/util/test/test_async.py/TestThreads.pyblock