summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test__iotools.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-08-05 12:09:23 -0500
committerGitHub <noreply@github.com>2017-08-05 12:09:23 -0500
commitbfe43b26969231cfe8196868280c07f0c0aa8f50 (patch)
tree88ad7478e033ce5980a365a479e22b78ba1cecaa /numpy/lib/tests/test__iotools.py
parent5ab02b15de72fa00d785f49c62466fe048264cc4 (diff)
parent2b781f8967488dc007f8f0a1e6a7f49208788d12 (diff)
downloadnumpy-bfe43b26969231cfe8196868280c07f0c0aa8f50.tar.gz
Merge pull request #9517 from charris/rebase-9508
MAINT/DOC: Use builtin when np.{x} is builtins.{x}.
Diffstat (limited to 'numpy/lib/tests/test__iotools.py')
-rw-r--r--numpy/lib/tests/test__iotools.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/lib/tests/test__iotools.py b/numpy/lib/tests/test__iotools.py
index a7ee9cbff..03192896c 100644
--- a/numpy/lib/tests/test__iotools.py
+++ b/numpy/lib/tests/test__iotools.py
@@ -257,7 +257,7 @@ class TestMiscFunctions(object):
def test_has_nested_dtype(self):
"Test has_nested_dtype"
- ndtype = np.dtype(np.float)
+ ndtype = np.dtype(float)
assert_equal(has_nested_fields(ndtype), False)
ndtype = np.dtype([('A', '|S3'), ('B', float)])
assert_equal(has_nested_fields(ndtype), False)