Lines Matching refs:linesep
7 linesep = tobytes(os.linesep) variable
8 HEADER = b'<?xml version="1.0" encoding="UTF-8"?>' + linesep
20 self.assertEqual(HEADER + b"<!-- Hello world" + linesep + b" How are you? -->",
25 self.assertEqual(b'<?xml version="1.0" encoding="UTF-8"?>' + linesep,
31 self.assertEqual(b'<?xml version="1.0" encoding="UTF-8"?>' + linesep,
37 self.assertEqual(b'<?xml version="1.0" encoding="UTF-8"?>' + linesep,
43 self.assertEqual(b'<?xml version="1.0" encoding="UTF-8"?>' + linesep,
64 self.assertEqual(HEADER + bytesjoin(["foo", " bar", "baz"], linesep),
92 "65747465 72732e ", ""], joiner=linesep), writer.file.getvalue())
119 linesep = tobytes(os.linesep) if nls is None else tobytes(nls)
122 header + linesep + b"hello" + linesep + b"world" + linesep,