diff options
author | William Deegan <bill@baddogconsulting.com> | 2017-05-16 00:10:18 (GMT) |
---|---|---|
committer | William Deegan <bill@baddogconsulting.com> | 2017-05-16 00:10:18 (GMT) |
commit | 49fb9723d59ddbe19478dc537a1672e855a744aa (patch) | |
tree | 409156fdc34f3c71f2012494faa9a896ac5e17e4 | |
parent | 2517d1eae47c83640ba93c826cf31acb6e231e8c (diff) | |
download | SCons-49fb9723d59ddbe19478dc537a1672e855a744aa.zip SCons-49fb9723d59ddbe19478dc537a1672e855a744aa.tar.gz SCons-49fb9723d59ddbe19478dc537a1672e855a744aa.tar.bz2 |
py2/3 skip test on py3 because it is a function there.
-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 6cce1d5..bcf8339 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) |