예제 #1
0
파일: base.py 프로젝트: humblehacker/did
 def __str__(self):
     """ Ascii version of the string representation """
     return utils.ascii(unicode(self))
예제 #2
0
def test_ascii():
    from did.utils import ascii
    assert ascii
    assert ascii("ěščřžýáíé") == "escrzyaie"
    assert ascii(0) == "0"
예제 #3
0
파일: base.py 프로젝트: barraq/did
 def __str__(self):
     """ Ascii version of the string representation """
     return utils.ascii(unicode(self))
예제 #4
0
def test_ascii():
    from did.utils import ascii
    assert ascii
    assert ascii("ěščřžýáíé") == "escrzyaie"
    assert ascii(0) == "0"