Exemplo n.º 1
0
 def test_whitespace(self):
     assert " " == utils.convert_char(" ")
Exemplo n.º 2
0
 def test_literal(self):
     assert "e" == utils.convert_char("e")
Exemplo n.º 3
0
 def test_punctation(self):
     assert "." == utils.convert_char(".")
Exemplo n.º 4
0
 def test_utf(self):
     assert "\\xe9", utils.convert_char(u"\xe9")
Exemplo n.º 5
0
 def test_digit(self):
     assert "9" == utils.convert_char(u"9")
Exemplo n.º 6
0
 def test_whitespace(self):
     assert " " == utils.convert_char(" ")
Exemplo n.º 7
0
 def test_punctation(self):
     assert "." == utils.convert_char(".")
Exemplo n.º 8
0
 def test_literal(self):
     assert "e" == utils.convert_char("e")
Exemplo n.º 9
0
 def test_digit(self):
     assert "9" == utils.convert_char(u"9")
Exemplo n.º 10
0
 def test_utf(self):
     assert "\\xe9", utils.convert_char(u"\xe9")