def assertRaisesRegexp(self, exception, regexp_val, function, *args):
    try:
      function(*args)
      self.fail(exception % "Expected raising %s")
    except exception, err:
      regexp = re.compile(regexp_val)
      if re.search(regexp, str(err)) == None:
        self.fail("Expected matching '%s', got '%s'" %
          (regexp_val, str(err)))
dataset/ETHPy150Open ganeti/ganeti/test/py/ganeti.ovf_unittest.py/BetterUnitTest.assertRaisesRegexp/swapped operands of `%`