浏览代码

Don't cover this branch as well.

Omer Katz 7 年之前
父节点
当前提交
2547666a1e
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      celery/utils/threads.py

+ 1 - 1
celery/utils/threads.py

@@ -327,7 +327,7 @@ class _FastLocalStack(threading.local):
 
 if USE_FAST_LOCALS:  # pragma: no cover
     LocalStack = _FastLocalStack
-else:
+else:  # pragma: no cover
     # - See #706
     # since each thread has its own greenlet we can just use those as
     # identifiers for the context.  If greenlets aren't available we