summaryrefslogtreecommitdiffstats
path: root/test/option
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2020-10-04 01:25:38 (GMT)
committerWilliam Deegan <bill@baddogconsulting.com>2020-10-04 01:25:38 (GMT)
commit643b9e4488eaefe3cfe34df2af7c9f040db32659 (patch)
treee8daa36f1bc2904e7f8056d1a1f0e92fa4ec5abc /test/option
parent0ca47bd580b3bc93bbff4bbaaa7f0b3dad160558 (diff)
downloadSCons-643b9e4488eaefe3cfe34df2af7c9f040db32659.zip
SCons-643b9e4488eaefe3cfe34df2af7c9f040db32659.tar.gz
SCons-643b9e4488eaefe3cfe34df2af7c9f040db32659.tar.bz2
Fix IS_WINDOWS usage for test
Diffstat (limited to 'test/option')
-rw-r--r--test/option/debug-memory.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/option/debug-memory.py b/test/option/debug-memory.py
index 31ae346..2958e0b 100644
--- a/test/option/debug-memory.py
+++ b/test/option/debug-memory.py
@@ -30,10 +30,11 @@ Test that the --debug=memory option works.
import re
import TestSCons
+from TestCmd import IS_WINDOWS
test = TestSCons.TestSCons()
-if not test.IS_WINDOWS:
+if not IS_WINDOWS:
try:
import resource # noqa: F401
except ImportError: