summaryrefslogtreecommitdiffstats
path: root/python/pytest/_pytest/_pluggy.py
blob: 87d32cf8dd12afa068aaca7efcbc0d1073833132 (plain)
1
2
3
4
5
6
7
8
9
10
11
"""
imports symbols from vendored "pluggy" if available, otherwise
falls back to importing "pluggy" from the default namespace.
"""

try:
    from _pytest.vendored_packages.pluggy import *  # noqa
    from _pytest.vendored_packages.pluggy import __version__  # noqa
except ImportError:
    from pluggy import *  # noqa
    from pluggy import __version__  # noqa