summaryrefslogtreecommitdiff
path: root/numpy/lib/tests/test_index_tricks.py
diff options
context:
space:
mode:
authorCharles Harris <charlesr.harris@gmail.com>2017-12-10 11:03:07 -0700
committerCharles Harris <charlesr.harris@gmail.com>2017-12-10 13:16:06 -0700
commit50cdfdde3eca726f56cdac5c221de96251092120 (patch)
tree86bc8c8f4b9409c5db214a3e1849fb1feae7252f /numpy/lib/tests/test_index_tricks.py
parent5c16f535e7515c2394b19cc6778ad9b5ae24d729 (diff)
downloadnumpy-50cdfdde3eca726f56cdac5c221de96251092120.tar.gz
BUG: Fix test_1d_format test.
The test failed for numpy installed in release mode as the PendingDeprecationWarning issued by `object.__format__(a, '30')` was no longer converted to an error. The fix here is to make the test Python version dependent and suppress the warning when needed.
Diffstat (limited to 'numpy/lib/tests/test_index_tricks.py')
0 files changed, 0 insertions, 0 deletions