Sha256: 8d3fb8aae68286b42546b4dd6ada6dabc9dbea09af188a6f72a0df161d59a3ca

Contents?: true

Size: 703 Bytes

Versions: 1

Compression:

Stored size: 703 Bytes

Contents

# -*- coding: UTF-8 -*-
"""
Unit test facade to protect py.test runner from Python 3.4/3.5 grammar changes.
"""

from __future__ import absolute_import
import sys

python_version = sys.version_info[:2]
if python_version >= (3, 5):
    # -- PROTECTED-IMPORT:
    # Older Python version have problems with grammer extensions (async/await).
    from ._test_async_step35 import TestAsyncStepDecorator35
    from ._test_async_step34 import TestAsyncStepDecorator34, TestAsyncContext
elif (3, 4) <= python_version < (3, 5):
    # -- PROTECTED-IMPORT:
    # Older Python version have problems with grammer extensions (yield-from).
    from ._test_async_step34 import TestAsyncStepDecorator34, TestAsyncContext

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
busser-behave-0.1.3 vendor/behave/tests/api/test_async_step.py