[Python-checkins] cpython (3.4): Issue #21526: Skip test_booleans on Tcl < 8.5.

serhiy.storchaka python-checkins at python.org
Thu Apr 2 19:08:10 CEST 2015


https://hg.python.org/cpython/rev/3b8039c37b37
changeset:   95393:3b8039c37b37
branch:      3.4
parent:      95390:a6f4d8fa7ab8
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Apr 02 19:57:52 2015 +0300
summary:
  Issue #21526: Skip test_booleans on Tcl < 8.5.

files:
  Lib/test/test_tcl.py |  1 +
  1 files changed, 1 insertions(+), 0 deletions(-)


diff --git a/Lib/test/test_tcl.py b/Lib/test/test_tcl.py
--- a/Lib/test/test_tcl.py
+++ b/Lib/test/test_tcl.py
@@ -391,6 +391,7 @@
         if tcl_version >= (8, 5):  # bignum was added in Tcl 8.5
             check('2**64', True)
 
+    @unittest.skipUnless(tcl_version >= (8, 5), 'requires Tcl version >= 8.5')
     def test_booleans(self):
         tcl = self.interp
         def check(expr, expected):

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list