diff options
author | Cameron Blocker <cameronjblocker@gmail.com> | 2020-07-13 16:45:13 -0400 |
---|---|---|
committer | Cameron Blocker <cameronjblocker@gmail.com> | 2020-07-13 16:45:13 -0400 |
commit | 7a3962dddd619ede248558da9de7d0d1a196d938 (patch) | |
tree | a9966c0b15d3f5859fbd59424207b2f62ced43a8 /numpy/lib/tests/test_index_tricks.py | |
parent | f82c7d73ce116471f8009d481ded4449dfec3106 (diff) | |
download | numpy-7a3962dddd619ede248558da9de7d0d1a196d938.tar.gz |
MAINT: reference issue in comments for added index_tricks tests
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
-rw-r--r-- | numpy/lib/tests/test_index_tricks.py | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/numpy/lib/tests/test_index_tricks.py b/numpy/lib/tests/test_index_tricks.py index 64e744a50..843e27cef 100644 --- a/numpy/lib/tests/test_index_tricks.py +++ b/numpy/lib/tests/test_index_tricks.py @@ -263,6 +263,7 @@ class TestGrid: assert_array_almost_equal(grid64, grid32) def test_accepts_npcomplexfloating(self): + # Related to #16466 assert_array_almost_equal( mgrid[0.1:0.3:3j, ], mgrid[0.1:0.3:np.complex64(3j), ] ) @@ -292,6 +293,7 @@ class TestConcatenator: g = r_[0:36:100j] assert_(g.shape == (100,)) + # Related to #16466 g = r_[0:36:np.complex64(100j)] assert_(g.shape == (100,)) |