[Python-checkins] cpython (3.3): weaken callback count inequality (closes #20901)

benjamin.peterson python-checkins at python.org
Thu Mar 13 03:52:34 CET 2014


http://hg.python.org/cpython/rev/dbc9e3ed5e9f
changeset:   89621:dbc9e3ed5e9f
branch:      3.3
parent:      89618:4d8a9d12edfa
user:        Benjamin Peterson <benjamin at python.org>
date:        Wed Mar 12 21:51:52 2014 -0500
summary:
  weaken callback count inequality (closes #20901)

files:
  Lib/sqlite3/test/hooks.py |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/Lib/sqlite3/test/hooks.py b/Lib/sqlite3/test/hooks.py
--- a/Lib/sqlite3/test/hooks.py
+++ b/Lib/sqlite3/test/hooks.py
@@ -162,7 +162,7 @@
             create table bar (a, b)
             """)
         second_count = len(progress_calls)
-        self.assertGreater(first_count, second_count)
+        self.assertGreaterEqual(first_count, second_count)
 
     def CheckCancelOperation(self):
         """

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


More information about the Python-checkins mailing list