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
2010-11-23 20:32:07 -06:00
2011-09-24 08:06:39 +02:00
2011-09-21 07:52:41 +02:00
2009-10-03 01:11:04 +02:00
2010-11-25 16:36:25 +01:00
2010-10-21 12:18:10 +02:00
2011-09-24 14:13:24 +02:00
2011-09-25 07:40:43 +02:00

py.test is a simple and popular testing tool for Python.

See http://pytest.org for more documentation.

Description
No description provided
Readme 48 MiB
Languages
Python 100%