#
# coding=utf-8
"""cmd2 External Python Testing Mixin

Allows developers to exercise their cmd2 application using the PyScript interface
"""

try:
    # For python 3.8 and later
    import importlib.metadata as importlib_metadata
except ImportError:  # pragma: no cover
    # For everyone else
    # MyPy Issue # 1153 causes a spurious error that must be ignored
    import importlib_metadata  # type: ignore

try:
    __version__ = importlib_metadata.version(__name__)
except importlib_metadata.PackageNotFoundError:  # pragma: no cover
    # package is not installed
    __version__ = 'unknown'

from .cmd2_ext_test import (
    ExternalTestMixin,
)

__all__ = ['ExternalTestMixin']
