summaryrefslogtreecommitdiff
path: root/test/osinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'test/osinfo.py')
-rw-r--r--test/osinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/test/osinfo.py b/test/osinfo.py
index 8bed2afd..04855fe6 100644
--- a/test/osinfo.py
+++ b/test/osinfo.py
@@ -2,7 +2,7 @@
import sys
-if sys.hexversion >= 0x02050000 and sys.platform == 'win32':
+if sys.version_info >= (2, 5) and sys.platform == 'win32':
# Windows implementation
def process_ram():
"""How much RAM is this process using? (Windows)"""