def test_timeFormat(self):
        with StringIO() as fileHandle:
            observer = textFileLogObserver(fileHandle, timeFormat=u"%f")
            observer(dict(log_format=u"XYZZY", log_time=1.23456))
            self.assertEqual(fileHandle.getvalue(), u"234560 [-#-] XYZZY\n")
Returned L{FileLogObserver} has the correct outFile.
dataset/ETHPy150Open twisted/twisted/twisted/logger/test/test_file.py/TextFileLogObserverTests.test_timeFormat