Commits

Alexander Hesse committed 2746bd8

Fixed import in rpython/translator/c/test/test_math.py

  • Participants
  • Parent commits 0f89ba1
  • Branches split-rpython

Comments (0)

Files changed (1)

File rpython/translator/c/test/test_math.py

 import py, math
-from pypy.module.math.test import test_direct
+from rpython.rtyper.lltypesystem.module.test.test_ll_math import (MathTests,
+                                                                  getTester)
 from rpython.translator.c.test.test_standalone import StandaloneTests
 from rpython.rlib import rfloat
 
         fn = getattr(rfloat, fnname)
     expect_valueerror = (expected == ValueError)
     expect_overflowerror = (expected == OverflowError)
-    check = test_direct.get_tester(expected)
+    check = get_tester(expected)
     #
     def testfn():
         try:
 
 
 testfnlist = [get_test_case(testcase)
-              for testcase in test_direct.MathTests.TESTCASES]
+              for testcase in MathTests.TESTCASES]
 reprlist = [repr(testcase)
-            for testcase in test_direct.MathTests.TESTCASES]
+            for testcase in MathTests.TESTCASES]
 
 def fn(args):
     err = False