[pypy-commit] pypy py3k: Updated path to math_testcases.txt to make proper use of os.path.join.

prestontimmons noreply at buildbot.pypy.org
Wed Mar 14 19:34:51 CET 2012


Author: Preston Timmons <prestontimmons at gmail.com>
Branch: py3k
Changeset: r53577:412bba3f13fe
Date: 2012-03-14 18:25 +0000
http://bitbucket.org/pypy/pypy/changeset/412bba3f13fe/

Log:	Updated path to math_testcases.txt to make proper use of
	os.path.join.

diff --git a/pypy/module/math/test/test_math.py b/pypy/module/math/test/test_math.py
--- a/pypy/module/math/test/test_math.py
+++ b/pypy/module/math/test/test_math.py
@@ -210,7 +210,7 @@
 
         failures = []
         math_testcases = os.path.join(os.path.dirname(abc.__file__),
-                "../test/math_testcases.txt")
+                "test", "math_testcases.txt")
         for id, fn, arg, expected, flags in _parse_mtestfile(math_testcases):
             func = getattr(math, fn)
 


More information about the pypy-commit mailing list