From 13c3ca756e0e899aa3f6969658dcc8fbdc719b73 Mon Sep 17 00:00:00 2001 From: Shay Palachy Date: Wed, 26 Apr 2017 11:50:23 +0300 Subject: [PATCH] fixed test --- tests/test_pickle_core.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_pickle_core.py b/tests/test_pickle_core.py index 34758eb..f7e0d8e 100644 --- a/tests/test_pickle_core.py +++ b/tests/test_pickle_core.py @@ -298,7 +298,7 @@ def test_delete_cache_file(): # print(res1) assert isinstance(res1, float) res2 = res_queue.get() - assert isinstance(res2, KeyError) + assert isinstance(res2, KeyError) or (res2 is None) # print(res2) # print(type(res2))