def test_backslashes_unescaped(self): self.assertEquals(Path.unescape(r'\\\\'), '\\\\')
def test_unknown_escape_sequence_is_literal_char(self): self.assertEquals(Path.unescape(r'\x'), 'x')
def test_slashes_unescaped(self): self.assertEquals(Path.unescape(r'\/\/'), r'//')