[Python-checkins] cpython (merge 3.4 -> default): 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/8ad98ade3f78
changeset:   95394:8ad98ade3f78
parent:      95391:9291b28157e1
parent:      95393:3b8039c37b37
user:        Serhiy Storchaka <storchaka at gmail.com>
date:        Thu Apr 02 19:59:34 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
@@ -389,6 +389,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