summaryrefslogtreecommitdiff
path: root/test/osinfo.py
diff options
context:
space:
mode:
authorNed Batchelder <ned@nedbatchelder.com>2009-12-02 07:27:14 -0500
committerNed Batchelder <ned@nedbatchelder.com>2009-12-02 07:27:14 -0500
commit968fc008e4c0453ef05aa211e85e202e7b1d2342 (patch)
tree91ae38367181a9ee0dda9ed22aa832031ca4c3d7 /test/osinfo.py
parent007a4a1ba529e2913357387c1f42b6028860fe98 (diff)
downloadpython-coveragepy-git-968fc008e4c0453ef05aa211e85e202e7b1d2342.tar.gz
Massive eol whitespace clean-up.
Diffstat (limited to 'test/osinfo.py')
-rw-r--r--test/osinfo.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/test/osinfo.py b/test/osinfo.py
index 7a82610a..8bed2afd 100644
--- a/test/osinfo.py
+++ b/test/osinfo.py
@@ -23,7 +23,7 @@ if sys.hexversion >= 0x02050000 and sys.platform == 'win32':
('PeakPagefileUsage', ctypes.c_size_t),
('PrivateUsage', ctypes.c_size_t),
]
-
+
mem_struct = PROCESS_MEMORY_COUNTERS_EX()
ret = ctypes.windll.psapi.GetProcessMemoryInfo(
ctypes.windll.kernel32.GetCurrentProcess(),
@@ -37,9 +37,9 @@ if sys.hexversion >= 0x02050000 and sys.platform == 'win32':
elif sys.platform == 'linux2':
# Linux implementation
import os
-
+
_scale = {'kb': 1024, 'mb': 1024*1024}
-
+
def _VmB(key):
"""Read the /proc/PID/status file to find memory use."""
try: