소스 검색

Exclude 'if PY33' clause from coverage

Berker Peksag 8 년 전
부모
커밋
52a0d0704e
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      celery/utils/serialization.py

+ 1 - 1
celery/utils/serialization.py

@@ -243,7 +243,7 @@ def jsonify(obj,
 
 # Since PyPy 3 targets Python 3.2, 'raise exc from None' will
 # raise a TypeError so we need to look for Python 3.3 or newer
-if PY33:
+if PY33:  # pragma: no cover
     from vine.five import exec_
     _raise_with_context = None  # for flake8
     exec_("""def _raise_with_context(exc, ctx): raise exc from ctx""")