Exemple #1
0
 def test_whitespace(self):
     assert_equal(" ", utils.convert_char(" "))
Exemple #2
0
 def test_literal(self):
     assert_equal("e", utils.convert_char("e"))
Exemple #3
0
 def test_punctation(self):
     assert_equal(".", utils.convert_char("."))
Exemple #4
0
 def test_utf(self):
     assert_equal("\\xe9", utils.convert_char(u"\xe9"))
Exemple #5
0
 def test_digit(self):
     assert_equal("9", utils.convert_char(u"9"))
 def test_whitespace(self):
     assert_equal(" ", utils.convert_char(" "))
 def test_punctation(self):
     assert_equal(".", utils.convert_char("."))
 def test_literal(self):
     assert_equal("e", utils.convert_char("e"))
 def test_digit(self):
     assert_equal("9", utils.convert_char(u"9"))
 def test_utf(self):
     assert_equal("\\xe9", utils.convert_char(u"\xe9"))