tests/test_pyfiles.py
branchpy33
changeset 3892 901db570cc14
parent 3794 398ea04239b5
child 4252 fe660f227cac
equal deleted inserted replaced
3891:a1deafc4c171 3892:901db570cc14
    77             truncPath = path[path.find('reportlab'):]
    77             truncPath = path[path.find('reportlab'):]
    78             args = (truncPath, repr(list(map(ord, nonAscii))))
    78             args = (truncPath, repr(list(map(ord, nonAscii))))
    79             msg = "File %s contains characters: %s." % args
    79             msg = "File %s contains characters: %s." % args
    80 ##            if nonAscii:
    80 ##            if nonAscii:
    81 ##                print msg
    81 ##                print msg
    82             assert nonAscii == '', msg
    82             assert not nonAscii, msg
    83 
    83 
    84 
    84 
    85 class FilenameTestCase(unittest.TestCase):
    85 class FilenameTestCase(unittest.TestCase):
    86     "Test if Python files contain trailing digits."
    86     "Test if Python files contain trailing digits."
    87 
    87