Files
pytest2/_pytest
Floris Bruynooghe e2201fe3a9 Look up the pytest_assertrepr_compare hook for each test item
Before this was only done at the time the assertion plugin was loaded.
This lead to counter-intuitive behaviour where two subdirectories with
a pytest_assertrepr_compare hook in their conftest.py would not work,
only one would ever be used.

This defers assiging the _pytest.assertion.util._reprcompare function
until the item is loaded (pytest_runtest_setup) so that it can use the
hookrelay of the test item to find the appropriate
pytest_assertrepr_compare hook for the item.

This fixes issue #77.
2011-10-16 11:51:15 +01:00
..
2011-09-24 14:13:24 +02:00
2011-09-01 16:19:16 +02:00
2011-08-01 10:53:37 +02:00
2011-06-28 21:13:12 -05:00
2010-11-13 23:33:50 +01:00