def testHashHexFormat(self):
    tmp_file = self.CreateTempFile(contents=self._TEST_FILE_CONTENTS)
    stdout = self.RunCommand('hash', args=['-h', tmp_file], return_stdout=True)
    self.assertIn('Hashes [hex]', stdout)
    self.assertIn(self._TEST_FILE_HEX_CRC % '\tHash (crc32c):\t\t%s', stdout)
    self.assertIn('\tHash (md5):\t\t%s' % self._TEST_FILE_HEX_MD5, stdout)
dataset/ETHPy150Open GoogleCloudPlatform/gsutil/gslib/tests/test_hash.py/TestHash.testHashHexFormat/swapped operands of `%`