Explorar el Código

Exclude 'if PY33' clause from coverage

Berker Peksag hace 9 años
padre
commit
52a0d0704e
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  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""")