diff options
Diffstat (limited to 'numpy/linalg/tests/test_build.py')
-rw-r--r-- | numpy/linalg/tests/test_build.py | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/numpy/linalg/tests/test_build.py b/numpy/linalg/tests/test_build.py index 27fbd6429..0d237c81c 100644 --- a/numpy/linalg/tests/test_build.py +++ b/numpy/linalg/tests/test_build.py @@ -20,16 +20,16 @@ class FindDependenciesLdd(object): except OSError: raise RuntimeError("command %s cannot be run" % self.cmd) - def get_dependencies(self, file): - p = Popen(self.cmd + [file], stdout=PIPE, stderr=PIPE) + def get_dependencies(self, lfile): + p = Popen(self.cmd + [lfile], stdout=PIPE, stderr=PIPE) stdout, stderr = p.communicate() if not (p.returncode == 0): - raise RuntimeError("Failed to check dependencies for %s" % libfile) + raise RuntimeError("failed dependencies check for %s" % lfile) return stdout - def grep_dependencies(self, file, deps): - stdout = self.get_dependencies(file) + def grep_dependencies(self, lfile, deps): + stdout = self.get_dependencies(lfile) rdeps = dict([(dep, re.compile(dep)) for dep in deps]) founds = [] |