<s> """<STR_LIT>""" <EOL> import io <EOL> import unittest <EOL> from tests import WithPatching <EOL> class ToolTestsBase ( unittest . TestCase , WithPatching ) : <EOL> """<STR_LIT>""" <EOL> def setUp ( self ) : <EOL> super ( ) . setUp ( ) <EOL> self . stdout = io . StringIO ( ) <EOL> self . patch ( '<STR_LIT>' , self . stdout ) <EOL> self . stderr = io . StringIO ( ) <EOL> self . patch ( '<STR_LIT>' , self . stderr ) </s>
