py2llvm: skip test_is_prime unit test on Windows

see http://irclog.whitequark.org/m-labs/2015-08-26#13821771;
This commit is contained in:
Yann Sionneau 2015-08-26 14:47:12 +02:00
parent 8aec02dfcf
commit 977df7013d

View File

@ -267,6 +267,7 @@ class CodeGenCase(unittest.TestCase):
def test_float_div(self): def test_float_div(self):
self._test_float_arith(3) self._test_float_arith(3)
@unittest.skipIf(os.name == "nt", "This test is known to fail on Windows")
def test_is_prime(self): def test_is_prime(self):
is_prime_c = CompiledFunction(is_prime, {"x": base_types.VInt()}) is_prime_c = CompiledFunction(is_prime, {"x": base_types.VInt()})
for i in range(200): for i in range(200):