summaryrefslogtreecommitdiff
path: root/test/Win32
diff options
context:
space:
mode:
authorWilliam Deegan <bill@baddogconsulting.com>2017-05-15 17:10:18 -0700
committerWilliam Deegan <bill@baddogconsulting.com>2017-05-15 17:10:18 -0700
commit9b2b1e20e6f6e691d8daaa7aaf6ebb73d56f6488 (patch)
tree409156fdc34f3c71f2012494faa9a896ac5e17e4 /test/Win32
parent4af46d660e9a55944053b6bacf9b2098d3d48bdf (diff)
downloadscons-9b2b1e20e6f6e691d8daaa7aaf6ebb73d56f6488.tar.gz
py2/3 skip test on py3 because it is a function there.
Diffstat (limited to 'test/Win32')
-rw-r--r--test/Win32/file-is-type-not-func.py3
1 files changed, 2 insertions, 1 deletions
diff --git a/test/Win32/file-is-type-not-func.py b/test/Win32/file-is-type-not-func.py
index 6cce1d50..bcf83396 100644
--- a/test/Win32/file-is-type-not-func.py
+++ b/test/Win32/file-is-type-not-func.py
@@ -25,6 +25,7 @@
"""
This test verifies that file isn't redefined incorrectly as a function on
Windows systems. It's a built-in type and should thus be inheritable.
+Doesn't apply on win32 under python3
"""
__revision__ = "__FILE__ __REVISION__ __DATE__ __DEVELOPER__"
@@ -35,7 +36,7 @@ import TestSCons
test = TestSCons.TestSCons()
-if sys.platform != 'win32':
+if sys.platform != 'win32' or sys.version_info[0] != 2:
test.skip_test(
'Skipping file-type test on non-Windows platform: %s\n' % sys.platform)