@skipIf(IS_WINDOWS and sys.version_info[0] < 3,
            "StringIO has no fileno on Python 2 and Windows")
    def test_data_with_no_EOL(self):
        stream = self.get_stream()

        # data with no newline and more than 1024 chars
        data = {'data': '*' * 1100, 'pid': 333}

        stream(data)
        stream(data)
        output = stream._file.getvalue()
        stream._file.close()

        self.assertEqual(output, '*' * 2200)
dataset/ETHPy150Open circus-tent/circus/circus/tests/test_stream.py/TestFileStream.test_data_with_no_EOL/original