diff --git a/examples/PySDM_examples/__init__.py b/examples/PySDM_examples/__init__.py index d397f7062..5bbf5831a 100644 --- a/examples/PySDM_examples/__init__.py +++ b/examples/PySDM_examples/__init__.py @@ -3,9 +3,12 @@ """ from importlib.metadata import PackageNotFoundError, version +import PySDM try: __version__ = version(__name__) except PackageNotFoundError: # package is not installed pass + +assert PySDM.__version__ == __version__