소스 검색

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