diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-05-15 17:10:18 -0700 |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-05-15 17:10:18 -0700 |
commit | 9b2b1e20e6f6e691d8daaa7aaf6ebb73d56f6488 (patch) | |
tree | 409156fdc34f3c71f2012494faa9a896ac5e17e4 /test/Win32 | |
parent | 4af46d660e9a55944053b6bacf9b2098d3d48bdf (diff) | |
download | scons-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.py | 3 |
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) |