From 6c990fbdd58e969d179e3d721d85c9f0ea3a6005 Mon Sep 17 00:00:00 2001 From: Pauli Virtanen Date: Sun, 21 Feb 2010 02:48:04 +0000 Subject: 3K: linalg: fix integer division issue and tests --- numpy/linalg/tests/test_build.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'numpy/linalg/tests/test_build.py') diff --git a/numpy/linalg/tests/test_build.py b/numpy/linalg/tests/test_build.py index eabe361cf..bf1ff3a9f 100644 --- a/numpy/linalg/tests/test_build.py +++ b/numpy/linalg/tests/test_build.py @@ -6,6 +6,8 @@ import numpy as np from numpy.linalg import lapack_lite from numpy.testing import TestCase, dec +from numpy.compat import asbytes_nested + class FindDependenciesLdd: def __init__(self): self.cmd = ['ldd'] @@ -41,7 +43,7 @@ class TestF77Mismatch(TestCase): def test_lapack(self): f = FindDependenciesLdd() deps = f.grep_dependencies(lapack_lite.__file__, - ['libg2c', 'libgfortran']) + asbytes_nested(['libg2c', 'libgfortran'])) self.failIf(len(deps) > 1, """Both g77 and gfortran runtimes linked in lapack_lite ! This is likely to cause random crashes and wrong results. See numpy INSTALL.txt for more -- cgit v1.2.1