<s> from unittest import TestCase <EOL> from purl . url import to_utf8 , to_unicode <EOL> class TestUnicodeHelper ( TestCase ) : <EOL> def test_convert_int_to_bytes ( self ) : <EOL> self . assertEqual ( '<STR_LIT>' , to_utf8 ( <NUM_LIT> ) ) <EOL> def test_convert_int_to_unicode ( self ) : <EOL> self . assertEqual ( u'<STR_LIT>' , to_unicode ( <NUM_LIT> ) ) </s>
