diff options
Diffstat (limited to 'test/option')
-rw-r--r-- | test/option/debug-memory.py | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/test/option/debug-memory.py b/test/option/debug-memory.py index 0a2875f..9ed674e 100644 --- a/test/option/debug-memory.py +++ b/test/option/debug-memory.py @@ -39,8 +39,12 @@ test = TestSCons.TestSCons() try: import resource except ImportError: - x = "Python version has no 'resource' module; skipping tests.\n" - test.skip_test(x) + try: + import win32process + import win32api + except ImportError: + x = "Python version has no 'resource' or 'win32api/win32process' module; skipping tests.\n" + test.skip_test(x) |