I've run into an issue with pytest_assertrepr_compare - I want the hook to apply to only a subset of tests (tests/unit/**), so I defined tests/unit/conftest.py and defined my pytest_assertrepr_compare there, but still tests under tests/other/** get that behavior (when I run py.test on tests/).
Is there a way to cause the hook to be loaded only for tests/unit/** (or some other subset of tests)? Alternatively, is there a way to detect from within the pytest_assertrepr_compare function which module/function is under test and select that way? Thanks, Jason
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________ py-dev mailing list py-dev@codespeak.net http://codespeak.net/mailman/listinfo/py-dev