Beispiel #1
0
 def __str__(self):
     """ Ascii version of the string representation """
     return utils.ascii(unicode(self))
Beispiel #2
0
def test_ascii():
    from did.utils import ascii
    assert ascii
    assert ascii("ěščřžýáíé") == "escrzyaie"
    assert ascii(0) == "0"
Beispiel #3
0
 def __str__(self):
     """ Ascii version of the string representation """
     return utils.ascii(unicode(self))
Beispiel #4
0
def test_ascii():
    from did.utils import ascii
    assert ascii
    assert ascii("ěščřžýáíé") == "escrzyaie"
    assert ascii(0) == "0"