qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From astitc...@apache.org
Subject qpid-proton git commit: PROTON-1272: [C++ binding] Allow example_test to run on Python 2.6
Date Thu, 04 Aug 2016 16:21:15 GMT
Repository: qpid-proton
Updated Branches:
  refs/heads/0.14.x bfae5bf1d -> 3f9004ca0


PROTON-1272: [C++ binding] Allow example_test to run on Python 2.6


Project: http://git-wip-us.apache.org/repos/asf/qpid-proton/repo
Commit: http://git-wip-us.apache.org/repos/asf/qpid-proton/commit/3f9004ca
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/3f9004ca
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/3f9004ca

Branch: refs/heads/0.14.x
Commit: 3f9004ca06323c0dc3b375acf26de9724459d779
Parents: bfae5bf
Author: Andrew Stitcher <astitcher@apache.org>
Authored: Wed Aug 3 10:36:55 2016 -0400
Committer: Andrew Stitcher <astitcher@apache.org>
Committed: Thu Aug 4 12:18:00 2016 -0400

----------------------------------------------------------------------
 examples/cpp/example_test.py | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/qpid-proton/blob/3f9004ca/examples/cpp/example_test.py
----------------------------------------------------------------------
diff --git a/examples/cpp/example_test.py b/examples/cpp/example_test.py
index 86f0d7e..e2052dc 100644
--- a/examples/cpp/example_test.py
+++ b/examples/cpp/example_test.py
@@ -392,13 +392,13 @@ Hello World!
     def test_scheduled_send_03(self):
         # Output should be a bunch of "send" lines but can't guarantee exactly how many.
         out = self.proc(["scheduled_send_03", "-a", self.addr+"scheduled_send", "-t", "0.1",
"-i", "0.001"]).wait_exit().split()
-        self.assertGreater(len(out), 0);
+        self.assertTrue(len(out) > 0);
         self.assertEqual(["send"]*len(out), out)
 
     def test_scheduled_send(self):
         try:
             out = self.proc(["scheduled_send", "-a", self.addr+"scheduled_send", "-t", "0.1",
"-i", "0.001"]).wait_exit().split()
-            self.assertGreater(len(out), 0);
+            self.assertTrue(len(out) > 0);
             self.assertEqual(["send"]*len(out), out)
         except ProcError:       # File not found, not a C++11 build.
             pass


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org


Mime
View raw message