コード例 #1
0
ファイル: action.py プロジェクト: mahmoud/lithoxyl
 def __init__(self, action, etime, raw_message, fargs, exc_info):
     self.action = action
     self.etime = etime
     self.event_id = next(_ACT_ID_ITER)
     self.raw_message = to_unicode(raw_message)
     self.fargs = fargs
     self.exc_info = exc_info
コード例 #2
0
 def __init__(self, action, etime, raw_message, fargs, exc_info):
     self.action = action
     self.etime = etime
     self.event_id = next(_ACT_ID_ITER)
     self.raw_message = to_unicode(raw_message)
     self.fargs = fargs
     self.exc_info = exc_info
コード例 #3
0
ファイル: test_utils.py プロジェクト: moribellamy/lithoxyl
def test_to_unicode_doesnt_throw():
    to_unicode('hi')
    to_unicode('')
    to_unicode('\x81')