summaryrefslogtreecommitdiffstats
path: root/Lib/bsddb
diff options
context:
space:
mode:
authorMark Dickinson <dickinsm@gmail.com>2009-01-26 21:51:56 (GMT)
committerMark Dickinson <dickinsm@gmail.com>2009-01-26 21:51:56 (GMT)
commitc028abf3cd59086eb2665446a58aa462af8c2abd (patch)
tree67b2766dbc5e715af289652b6567ac5dbded3cea /Lib/bsddb
parenta0eae0398c0b10ff3000e279e93e6eef83485ad0 (diff)
downloadcpython-c028abf3cd59086eb2665446a58aa462af8c2abd.zip
cpython-c028abf3cd59086eb2665446a58aa462af8c2abd.tar.gz
cpython-c028abf3cd59086eb2665446a58aa462af8c2abd.tar.bz2
Issue #5073: Fix occasional failure of bsddb/test/test_lock.py. Thanks
Hirokazu Yamamoto for the patch.
Diffstat (limited to 'Lib/bsddb')
-rw-r--r--Lib/bsddb/test/test_lock.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/bsddb/test/test_lock.py b/Lib/bsddb/test/test_lock.py
index 09b9f37..47da392 100644
--- a/Lib/bsddb/test/test_lock.py
+++ b/Lib/bsddb/test/test_lock.py
@@ -124,7 +124,7 @@ class LockingTestCase(unittest.TestCase):
self.env.lock_get,anID2, "shared lock", db.DB_LOCK_READ)
end_time=time.time()
deadlock_detection.end=True
- self.assertTrue((end_time-start_time) >= 0.1)
+ self.assertTrue((end_time-start_time) >= 0.0999)
self.env.lock_put(lock)
t.join()