summaryrefslogtreecommitdiff
path: root/numpy/testing/utils.py
diff options
context:
space:
mode:
authorPearu Peterson <pearu.peterson@gmail.com>2007-06-08 06:29:34 +0000
committerPearu Peterson <pearu.peterson@gmail.com>2007-06-08 06:29:34 +0000
commit14d5854b76e423cbaf0622b206d7b3b69e513a83 (patch)
treed139097ed8fc9eae53b600faab499bf012956273 /numpy/testing/utils.py
parent047ec0c8def100cb6b407fd400fbea15a9c38f09 (diff)
downloadnumpy-14d5854b76e423cbaf0622b206d7b3b69e513a83.tar.gz
Typo fix: expose memusage for nt OS.
Diffstat (limited to 'numpy/testing/utils.py')
-rw-r--r--numpy/testing/utils.py12
1 files changed, 6 insertions, 6 deletions
diff --git a/numpy/testing/utils.py b/numpy/testing/utils.py
index 8e01afb56..c9308c069 100644
--- a/numpy/testing/utils.py
+++ b/numpy/testing/utils.py
@@ -92,12 +92,12 @@ if os.name=='nt' and sys.version[:3] > '2.3':
finally:
win32pdh.CloseQuery(hq)
- def memusage(processName="python", instance=0):
- # from win32pdhutil, part of the win32all package
- import win32pdh
- return GetPerformanceAttributes("Process", "Virtual Bytes",
- processName, instance,
- win32pdh.PDH_FMT_LONG, None)
+ def memusage(processName="python", instance=0):
+ # from win32pdhutil, part of the win32all package
+ import win32pdh
+ return GetPerformanceAttributes("Process", "Virtual Bytes",
+ processName, instance,
+ win32pdh.PDH_FMT_LONG, None)
def build_err_msg(arrays, err_msg, header='Items are not equal:',
verbose=True,