def test_convert_lf_to_crlf_mixed(self): self.assertEqual(convert_lf_to_crlf(b"line1\r\n\nline2"), b"line1\r\n\r\nline2")
def test_convert_lf_to_crlf_mixed(self): self.assertEqual( convert_lf_to_crlf(b"line1\r\n\nline2"), b"line1\r\n\r\nline2" )
def test_convert_lf_to_crlf_no_op(self): self.assertEqual(convert_lf_to_crlf(b"foobar"), b"foobar")