@skipIf(IS_WINDOWS and sys.version_info[0] < 3,
            "StringIO has no fileno on Python 2 and Windows")
    def test_time_formatting(self):
        stream = self.get_stream(time_format='%Y/%m/%d %H.%M.%S')
        output, expected = self.get_output(stream)
        self.assertEqual(output, expected)
dataset/ETHPy150Open circus-tent/circus/circus/tests/test_stream.py/TestFileStream.test_time_formatting/original