<s> from __future__ import unicode_literals , print_function <EOL> import sys <EOL> import unittest <EOL> from test import support <EOL> class TestMultipleFeatures ( unittest . TestCase ) : <EOL> def test_unicode_literals ( self ) : <EOL> self . assertIsInstance ( "<STR_LIT>" , str ) <EOL> def test_print_function ( self ) : <EOL> with support . captured_output ( "<STR_LIT>" ) as s : <EOL> print ( "<STR_LIT:foo>" , file = sys . stderr ) <EOL> self . assertEqual ( s . getvalue ( ) , "<STR_LIT>" ) <EOL> if __name__ == '<STR_LIT:__main__>' : <EOL> unittest . main ( ) </s>
