Files
firefox/third_party/python/pytest/_pytest/_pluggy.py
T
Andrew Halberstadt e01e38e459 Bug 1382362 - Update pytest to v3.1.3 and py to v1.4.34, r=davehunt
This patch was generated by something similar to:

$ cd third_party/python
$ hg rm pytest/* py/*
$ pip wheel pytest
$ unzip pytest.whl
$ unzip py.whl
$ hg add pytest/* py/*

MozReview-Commit-ID: 3LKVrbKfMgK
2017-07-19 16:50:57 -04:00

12 lines
426 B
Python

"""
imports symbols from vendored "pluggy" if available, otherwise
falls back to importing "pluggy" from the default namespace.
"""
from __future__ import absolute_import, division, print_function
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