def testGettempprefix(self):
    self.assertEqual('tmp', self.tempfile.gettempprefix())
    # set and verify
    self.tempfile.template = 'strung'
    self.assertEqual('strung', self.tempfile.gettempprefix())
    self.assertEqual('tempfile.template= is a NOP in python2.4',
                     self.fake_logging.message())
Get target of the attack
dataset/ETHPy150Open jmcgeheeiv/pyfakefs/fake_tempfile_test.py/FakeTempfileModuleTest.testGettempprefix--crossover with--dataset/ETHPy150Open tuturto/pyherc/src/pyherc/rules/combat/factories.py/MeleeCombatFactory.get_target