diff --git a/tests/test_pickle_core.py b/tests/test_pickle_core.py index 99fba23..c1e36d6 100644 --- a/tests/test_pickle_core.py +++ b/tests/test_pickle_core.py @@ -328,8 +328,7 @@ def _helper_delete_cache_file(sleeptime): if not isinstance(res1, float): return False res2 = res_queue.get() - if not (isinstance(res2, KeyError)) or ( - (res2 is None)): + if not ((isinstance(res2, KeyError)) or ((res2 is None))): return False return True # print(res2)