PageRenderTime 15ms CodeModel.GetById 12ms app.highlight 1ms RepoModel.GetById 1ms app.codeStats 0ms

/tests/regressiontests/views/__init__.py

https://code.google.com/p/mango-py/
Python | 10 lines | 6 code | 3 blank | 1 comment | 0 complexity | 51e2b3e833da30fe26a69445ede371f9 MD5 | raw file
 1# -*- coding: utf8 -*-
 2
 3class BrokenException(Exception):
 4    pass
 5
 6except_args = ('Broken!',           # plain exception with ASCII text
 7               u'??Broken!',         # non-ASCII unicode data
 8               '??Broken!',          # non-ASCII, utf-8 encoded bytestring
 9               '\xa1Broken!', )     # non-ASCII, latin1 bytestring
10