summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authorTravis Oliphant <oliphant@enthought.com>2006-03-14 20:31:42 +0000
committerTravis Oliphant <oliphant@enthought.com>2006-03-14 20:31:42 +0000
commitee8e27ad4facd8123858f3b046f6bba78fea7c89 (patch)
treef50880ac3f7874f493aa9d0923c2076cf37e0aef /numpy/testing/utils.py
parent7afda6a7aa249f3bfe490e62f61480d9e5e9c941 (diff)
downloadnumpy-ee8e27ad4facd8123858f3b046f6bba78fea7c89.tar.gz
Fix 2.3 compatibility on windows.
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index 173122d5e..e179da60d 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -64,7 +64,7 @@ else:
""" Return memory usage of running python. [Not implemented]"""
return
-if os.name=='nt':
+if os.name=='nt' and sys.version[:3] > '2.3':
# Code stolen from enthought/debug/memusage.py
import win32pdh
# from win32pdhutil, part of the win32all package