From 03f0aebf1a43c672f17e89382804809601828111 Mon Sep 17 00:00:00 2001 From: Julian Taylor Date: Wed, 15 Oct 2014 23:12:20 +0200 Subject: MAINT: remove obsolete version checks minimum requirement is python2.6, this allows removing a couple 2.3 and 2.4 checks. --- numpy/testing/utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'numpy/testing/utils.py') diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py index dc5929753..3b20f9238 100644 --- a/numpy/testing/utils.py +++ b/numpy/testing/utils.py @@ -159,7 +159,7 @@ else: """ Return memory usage of running python. [Not implemented]""" raise NotImplementedError -if os.name=='nt' and sys.version[:3] > '2.3': +if os.name=='nt': # Code "stolen" from enthought/debug/memusage.py def GetPerformanceAttributes(object, counter, instance = None, inum=-1, format = None, machine=None): -- cgit v1.2.1