def patch_testcase_assert_raises_regexp(): # pythons before 2.7 does not have TestCase.assertRaisesRegexp() method # add our local implementation if needed import sys if sys.version_info[:2] < (2, 7): from buildbot.monkeypatches import testcase_assert testcase_assert.patch()
def patch_testcase_assert_raises_regexp(): # pythons before 2.7 does not have TestCase.assertRaisesRegexp() method # add our local implementation if needed import sys if sys.version_info[:2] < (2,7): from buildbot.monkeypatches import testcase_assert testcase_assert.patch()