Loading py.test.config triggers py.test initialisation while py.code
should stay independent of py.test. By adding the hook as an
attribute to py.test AssertionError py.code can get access to the
hooks only when py.test is loaded already.
--HG--
branch : trunk