diff options
Diffstat (limited to 'numpy')
-rw-r--r-- | numpy/linalg/tests/test_build.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/numpy/linalg/tests/test_build.py b/numpy/linalg/tests/test_build.py index e9d52c876..691fd7a6b 100644 --- a/numpy/linalg/tests/test_build.py +++ b/numpy/linalg/tests/test_build.py @@ -13,7 +13,8 @@ class FindDependenciesLdd(object): self.cmd = ['ldd'] try: - st = call(self.cmd, stdout=PIPE, stderr=PIPE) + p = Popen(self.cmd, stdout=PIPE, stderr=PIPE) + stdout, stderr = p.communicate() except OSError: raise RuntimeError("command %s cannot be run" % self.cmd) |