Repository: qpid-proton
Updated Branches:
  refs/heads/master 92b822c10 -> 9d513c9d6


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/9d513c9d
Tree: http://git-wip-us.apache.org/repos/asf/qpid-proton/tree/9d513c9d
Diff: http://git-wip-us.apache.org/repos/asf/qpid-proton/diff/9d513c9d

Branch: refs/heads/master
Commit: 9d513c9d688f0cb112973933492cd6d7d987d1e8
Parents: 92b822c
Author: Andrew Stitcher <[email protected]>
Authored: Wed Aug 3 10:36:55 2016 -0400
Committer: Andrew Stitcher <[email protected]>
Committed: Wed Aug 3 10:36:55 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/9d513c9d/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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to