1. Michael Blume
  2. pypy

Commits

Leonardo Santagada  committed 03228be

  • Participants
  • Parent commits be0b7c4
  • Branches default

Comments (0)

Files changed (3)

File pypy/translator/llvm/test/runtest.py

View file
 
 optimize_tests = False
 MINIMUM_LLVM_VERSION = 1.9
+FLOAT_PRECISION = 8
 
 ext_modules = []
 

File pypy/translator/llvm/test/test_rlist.py

View file
 import py
 from pypy.rpython.test.test_rlist import BaseTestRlist
-from pypy.translator.llvm.test.runtest import LLVMTest
+from pypy.translator.llvm.test.runtest import *
 
 # ====> ../../../rpython/test/test_rlist.py
 

File pypy/translator/llvm/test/test_runtest.py

View file
+import py
+from pypy.translator.oosupport.test_template.runtest import BaseTestRunTest
+from pypy.translator.llvm.test.runtest import *
+
+class TestRunTest(BaseTestRunTest, LLVMTest):
+    def test_none(self):
+        def fn(x):
+            y = 1 + x
+            return None
+        assert self.interpret(fn,[1]) == None