pytest2/_pytest/assertion
Floris Bruynooghe a98e3cefc5 Enable re-writing of setuptools-installed plugins
Hook up the PEP 302 import hook very early in pytest startup so
that it gets installed before setuptools-installed plugins are
imported.  Also iterate over all installed plugins and mark them
for rewriting.  If an installed plugin is already imported then
a warning is issued, we can not break since that might break
existing plugins and the fallback will still be gracefull to
plain asserts.

Some existing tests are failing in this commit because of the new
warning triggered by inline pytest runs due to the hypothesis
plugin already being imported.  The tests will be fixed in the next
commit.
2016-07-13 17:29:19 +01:00
..
__init__.py Enable re-writing of setuptools-installed plugins 2016-07-13 17:29:19 +01:00
reinterpret.py Moved py.code code over to py.test 2016-01-25 23:18:04 -02:00
rewrite.py Enable re-writing of setuptools-installed plugins 2016-07-13 17:29:19 +01:00
util.py Fixes #1503 no longer collapse false explanations 2016-06-24 15:35:24 +02:00