From 5afa69098c66256431db5db15b66c4852e37c545 Mon Sep 17 00:00:00 2001 From: Nico Andrade <33872298+non-senses@users.noreply.github.com> Date: Thu, 8 Oct 2020 16:02:07 -0400 Subject: [PATCH] Remove prints and a comment --- tests/test_mongo_core.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/tests/test_mongo_core.py b/tests/test_mongo_core.py index 862c6b1..f34208a 100644 --- a/tests/test_mongo_core.py +++ b/tests/test_mongo_core.py @@ -177,14 +177,11 @@ def test_mongo_wait_for_calc_timeout_ok(): @cachier(mongetter=_test_mongetter, stale_after=MONGO_DELTA_LONG, next_time=False, wait_for_calc_timeout=2) def _wait_for_calc_timeout_mongo_slow(arg_1, arg_2): - print("_wait_for_calc_timeout_mongo_slow") - """Some slow function.""" sleep(3) return random() + arg_1 + arg_2 def _calls_wait_for_calc_timeout_mongo_slow(res_queue): - print("_calls_wait_for_calc_timeout_mongo_slow") res = _wait_for_calc_timeout_mongo_slow(1, 2) res_queue.put(res) @@ -192,7 +189,6 @@ def _calls_wait_for_calc_timeout_mongo_slow(res_queue): def test_mongo_wait_for_calc_timeout_slow(): """Testing for calls timing out to be performed twice when needed.""" _wait_for_calc_timeout_mongo_slow.clear_cache() - print("Cache cleared") res_queue = queue.Queue() thread1 = threading.Thread( target=_calls_wait_for_calc_timeout_mongo_slow, kwargs={'res_queue': res_queue})