summaryrefslogtreecommitdiff
path: root/numpy/linalg/tests
diff options
context:
space:
mode:
authorEric Wieser <wieser.eric@gmail.com>2017-03-25 10:31:40 +0000
committerEric Wieser <wieser.eric@gmail.com>2017-03-25 10:36:30 +0000
commit0960eedb783fcdb2710bdcf832a807d9b28b17a3 (patch)
tree244b7b042ccaf351ba9fe90d9221286f1259d543 /numpy/linalg/tests
parentb87fca27261f79be20ab06a222ed2330d60d9f2c (diff)
downloadnumpy-0960eedb783fcdb2710bdcf832a807d9b28b17a3.tar.gz
MAINT: Remove asbytes_nested where b prefixes would suffice
Diffstat (limited to 'numpy/linalg/tests')
-rw-r--r--numpy/linalg/tests/test_build.py4
1 files changed, 1 insertions, 3 deletions
diff --git a/numpy/linalg/tests/test_build.py b/numpy/linalg/tests/test_build.py
index dfb154190..a91f97670 100644
--- a/numpy/linalg/tests/test_build.py
+++ b/numpy/linalg/tests/test_build.py
@@ -7,8 +7,6 @@ import re
from numpy.linalg import lapack_lite
from numpy.testing import TestCase, dec, run_module_suite
-from numpy.compat import asbytes_nested
-
class FindDependenciesLdd(object):
@@ -49,7 +47,7 @@ class TestF77Mismatch(TestCase):
def test_lapack(self):
f = FindDependenciesLdd()
deps = f.grep_dependencies(lapack_lite.__file__,
- asbytes_nested(['libg2c', 'libgfortran']))
+ [b'libg2c', b'libgfortran'])
self.assertFalse(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