From: Mukund Sivaraman Date: Thu, 6 Dec 2012 01:36:55 +0000 (+0530) Subject: [2353] Don't call real sleep() in mock function X-Git-Tag: bind10-1.0.0-beta-release~19^2~35 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=bae03c0fbf0a82c2b88cb683fc81c30ab7f70ad0;p=thirdparty%2Fkea.git [2353] Don't call real sleep() in mock function --- diff --git a/src/bin/bind10/tests/bind10_test.py.in b/src/bin/bind10/tests/bind10_test.py.in index 1e62d9f1ae..cc4dafd3c5 100644 --- a/src/bin/bind10/tests/bind10_test.py.in +++ b/src/bin/bind10/tests/bind10_test.py.in @@ -1727,7 +1727,6 @@ class TestBossComponents(unittest.TestCase): def _my_sleep(nsec): global attempts attempts += 1 - return tmp_sleep(nsec) time.sleep = _my_sleep thrown = False