<s> import sys <EOL> sys . path . insert ( <NUM_LIT:0> , '<STR_LIT>' ) <EOL> sys . path . insert ( <NUM_LIT:0> , '<STR_LIT>' ) <EOL> import ofx <EOL> import unittest <EOL> class ErrorTests ( unittest . TestCase ) : <EOL> def test_ofx_error_to_str ( self ) : <EOL> error = ofx . Error ( "<STR_LIT:test>" , code = <NUM_LIT> , severity = "<STR_LIT>" , message = "<STR_LIT>" ) <EOL> expected = "<STR_LIT>" <EOL> self . assertEqual ( expected , error . str ( ) ) <EOL> self . assertEqual ( expected , str ( error ) ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
