summaryrefslogtreecommitdiff
path: root/numpy/testing/tests
diff options
context:
space:
mode:
authorHugo <hugovk@users.noreply.github.com>2020-09-02 16:43:40 +0300
committerHugo <hugovk@users.noreply.github.com>2020-09-03 13:46:30 +0300
commitd09e192f05fae7d2e13735c82714b0bc140a0d9f (patch)
tree46066830aef26587dc2ed14b79db37d8187026ed /numpy/testing/tests
parent55ffea92285dfe5b49123c57b63dcd6f00c5f3c3 (diff)
downloadnumpy-d09e192f05fae7d2e13735c82714b0bc140a0d9f.tar.gz
MAINT: Remove old sys.version_info code
Diffstat (limited to 'numpy/testing/tests')
-rw-r--r--numpy/testing/tests/test_utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/tests/test_utils.py b/numpy/testing/tests/test_utils.py
index 6a6cc664a..c3b9e04b6 100644
--- a/numpy/testing/tests/test_utils.py
+++ b/numpy/testing/tests/test_utils.py
@@ -1240,7 +1240,7 @@ def assert_warn_len_equal(mod, n_in_context, py34=None, py37=None):
if sys.version_info[:2] >= (3, 7):
if py37 is not None:
n_in_context = py37
- elif sys.version_info[:2] >= (3, 4):
+ else:
if py34 is not None:
n_in_context = py34
assert_equal(num_warns, n_in_context)