summaryrefslogtreecommitdiff
path: root/numpy/lib/utils.py
diff options
context:
space:
mode:
authorTyler Reddy <tyler.je.reddy@gmail.com>2018-12-04 12:17:59 -0800
committerTyler Reddy <tyler.je.reddy@gmail.com>2018-12-14 10:14:05 -0800
commit19784177a61de75927a4934fd4cdd91afbb5b35c (patch)
treecf9f88bf968e48d0eebd2cd523cefd2bd4c2fd51 /numpy/lib/utils.py
parent250861059b106371cb232456eeccd6d9e97d8f00 (diff)
downloadnumpy-19784177a61de75927a4934fd4cdd91afbb5b35c.tar.gz
MAINT: address several reviewer comments
Diffstat (limited to 'numpy/lib/utils.py')
-rw-r--r--numpy/lib/utils.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/numpy/lib/utils.py b/numpy/lib/utils.py
index 1c834e7f2..355b66df9 100644
--- a/numpy/lib/utils.py
+++ b/numpy/lib/utils.py
@@ -198,8 +198,8 @@ def byte_bounds(a):
>>> low, high = np.byte_bounds(I)
>>> high - low == I.size*I.itemsize
True
- >>> I = np.eye(2, dtype='G'); I.dtype
- dtype('complex256')
+ >>> I = np.eye(2); I.dtype
+ dtype('complex256') # may vary
>>> low, high = np.byte_bounds(I)
>>> high - low == I.size*I.itemsize
True