[2.7] print deprecation summary at end of tests