Example #1
0
 def testEscape(self):
     self.assertEqual(
         "Hello\t\rWorld\n\\",
         unescape_new_line(escape_new_line("Hello\t\rWorld\n\\")))
     self.assertEqual(
         "Hello\t\rWorld\n\\",
         unescape_new_line(escape_new_line("Hello\t\rWorld\n\\")))
Example #2
0
 def testEscape(self):
     self.assertEqual("Hello\t\rWorld\n\\", unescape_new_line(
         escape_new_line("Hello\t\rWorld\n\\")))
     self.assertEqual("Hello\t\rWorld\n\\", unescape_new_line(
         escape_new_line("Hello\t\rWorld\n\\")))