BIND 10 master, updated. f969ebef7a0d51d33c9c2eb3f034ad25bda2f4f3 [master] use assertTrue+isinstance instead of assertIsInstance.
BIND 10 source code commits
bind10-changes at lists.isc.org
Thu Jan 24 23:35:48 UTC 2013
The branch, master has been updated
via f969ebef7a0d51d33c9c2eb3f034ad25bda2f4f3 (commit)
from 552cbb67476914a81d0cdf226fc2806b1edf935e (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit f969ebef7a0d51d33c9c2eb3f034ad25bda2f4f3
Author: JINMEI Tatuya <jinmei at isc.org>
Date: Thu Jan 24 15:35:00 2013 -0800
[master] use assertTrue+isinstance instead of assertIsInstance.
the latter is relatively new and doesn't work for all of our supported
python versions. will fix a buildbot report. committing at my discretion.
-----------------------------------------------------------------------
Summary of changes:
src/bin/cmdctl/tests/cmdctl_test.py | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
-----------------------------------------------------------------------
diff --git a/src/bin/cmdctl/tests/cmdctl_test.py b/src/bin/cmdctl/tests/cmdctl_test.py
index cab89f8..ee44f45 100644
--- a/src/bin/cmdctl/tests/cmdctl_test.py
+++ b/src/bin/cmdctl/tests/cmdctl_test.py
@@ -533,7 +533,7 @@ class TestSecureHTTPServer(unittest.TestCase):
ssl_sock = self.server._wrap_socket_in_ssl_context(sock1,
BUILD_FILE_PATH + 'cmdctl-keyfile.pem',
BUILD_FILE_PATH + 'cmdctl-certfile.pem')
- self.assertIsInstance(ssl_sock, ssl.SSLSocket)
+ self.assertTrue(isinstance(ssl_sock, ssl.SSLSocket))
# wrap_socket can also raise IOError, which should be caught and
# handled like the other errors.
More information about the bind10-changes
mailing list