Exemple #1
0
 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")
Exemple #2
0
 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"
     )
Exemple #3
0
 def test_convert_lf_to_crlf_no_op(self):
     self.assertEqual(convert_lf_to_crlf(b"foobar"), b"foobar")
Exemple #4
0
 def test_convert_lf_to_crlf_no_op(self):
     self.assertEqual(convert_lf_to_crlf(b"foobar"), b"foobar")