def testTempFilenameDir(self):
    filename = self.tempfile._TempFilename(dir='/dir')
    self.assertTrue(filename.startswith('/dir/tmp'))
    self.assertLess(len('/dir/tmpX'), len(filename))
Replaces the top N items from the stack with the result of the callable
dataset/ETHPy150Open jmcgeheeiv/pyfakefs/fake_tempfile_test.py/FakeTempfileModuleTest.testTempFilenameDir--crossover with--dataset/ETHPy150Open ricmoo/pycoind/pycoind/script/script.py/_math_op