<s> from __future__ import unicode_literals <EOL> import unittest <EOL> from test import test_support <EOL> class TestFuture ( unittest . TestCase ) : <EOL> def assertType ( self , obj , typ ) : <EOL> self . assertTrue ( type ( obj ) is typ , <EOL> "<STR_LIT>" % ( obj , type ( obj ) , typ ) ) <EOL> def test_unicode_strings ( self ) : <EOL> self . assertType ( "<STR_LIT>" , unicode ) <EOL> self . assertType ( '<STR_LIT>' , unicode ) <EOL> self . assertType ( r"<STR_LIT>" , unicode ) <EOL> self . assertType ( r'<STR_LIT>' , unicode ) <EOL> self . assertType ( """<STR_LIT:U+0020>""" , unicode ) <EOL> self . assertType ( '''<STR_LIT:U+0020>''' , unicode ) <EOL> self . assertType ( r"""<STR_LIT:U+0020>""" , unicode ) <EOL> self . assertType ( r'''<STR_LIT:U+0020>''' , unicode ) <EOL> self . assertType ( u"<STR_LIT>" , unicode ) <EOL> self . assertType ( u'<STR_LIT>' , unicode ) <EOL> self . assertType ( ur "<STR_LIT>" , unicode ) <EOL> self . assertType ( ur '<STR_LIT>' , unicode ) <EOL> self . assertType ( u"""<STR_LIT:U+0020>""" , unicode ) <EOL> self . assertType ( u'''<STR_LIT:U+0020>''' , unicode ) <EOL> self . assertType ( ur """<STR_LIT:U+0020>""" , unicode ) <EOL> self . assertType ( ur '''<STR_LIT:U+0020>''' , unicode ) <EOL> self . assertType ( b"<STR_LIT>" , str ) <EOL> self . assertType ( b'<STR_LIT>' , str ) <EOL> self . assertType ( br"<STR_LIT>" , str ) <EOL> self . assertType ( br'<STR_LIT>' , str ) <EOL> self . assertType ( b"""<STR_LIT:U+0020>""" , str ) <EOL> self . assertType ( b'''<STR_LIT:U+0020>''' , str ) <EOL> self . assertType ( br"""<STR_LIT:U+0020>""" , str ) <EOL> self . assertType ( br'''<STR_LIT:U+0020>''' , str ) <EOL> self . assertType ( '<STR_LIT>' '<STR_LIT>' , unicode ) <EOL> self . assertType ( '<STR_LIT>' u'<STR_LIT>' , unicode ) <EOL> self . assertType ( u'<STR_LIT>' '<STR_LIT>' , unicode ) <EOL> self . assertType ( u'<STR_LIT>' u'<STR_LIT>' , unicode ) <EOL> def test_main ( ) : <EOL> test_support . run_unittest ( TestFuture ) <EOL> if __name__ == "<STR_LIT:__main__>" : <EOL> test_main ( ) </s>
