summaryrefslogtreecommitdiff
path: root/lib/spack/external/pytest-fallback/_pytest/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/spack/external/pytest-fallback/_pytest/__init__.py')
-rw-r--r--lib/spack/external/pytest-fallback/_pytest/__init__.py8
1 files changed, 8 insertions, 0 deletions
diff --git a/lib/spack/external/pytest-fallback/_pytest/__init__.py b/lib/spack/external/pytest-fallback/_pytest/__init__.py
new file mode 100644
index 0000000000..6e41f0504e
--- /dev/null
+++ b/lib/spack/external/pytest-fallback/_pytest/__init__.py
@@ -0,0 +1,8 @@
+__all__ = ['__version__']
+
+try:
+ from ._version import version as __version__
+except ImportError:
+ # broken installation, we don't even try
+ # unknown only works because we do poor mans version compare
+ __version__ = 'unknown'