def testTuuid(self):
        console.terse("{0}\n".format(self.testTuuid.__doc__))

        tuid = timing.tuuid()
        self.assertEqual(len(tuid), 24)
        stamp, sep, randomized = tuid.rpartition('_')
        self.assertEqual(sep, '_')
        self.assertEqual(len(stamp), 16)
        self.assertEqual(len(randomized), 7)

        tuid =  timing.tuuid(9)
        self.assertEqual(len(tuid), 24)
        stamp, sep, randomized = tuid.rpartition('_')
        self.assertEqual(sep, '_')
        self.assertEqual(len(stamp), 16)
        self.assertEqual(len(randomized), 7)
        self.assertEqual(stamp[:16], '0000000000895440' )
Unlock the mailbox if it is locked.
dataset/ETHPy150Open ioflo/ioflo/ioflo/aid/test/test_timing.py/BasicTestCase.testTuuid--crossover with--dataset/ETHPy150Open babble/babble/include/jython/Lib/mailbox.py/Maildir.unlock