Author: Alexander Hesse <[email protected]>
Branch: split-rpython
Changeset: r59894:2746bd823bf1
Date: 2013-01-09 19:46 +0100
http://bitbucket.org/pypy/pypy/changeset/2746bd823bf1/
Log: Fixed import in rpython/translator/c/test/test_math.py
diff --git a/rpython/translator/c/test/test_math.py
b/rpython/translator/c/test/test_math.py
--- a/rpython/translator/c/test/test_math.py
+++ b/rpython/translator/c/test/test_math.py
@@ -1,5 +1,6 @@
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
@@ -11,7 +12,7 @@
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:
@@ -28,9 +29,9 @@
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
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit