<s> from six . moves import StringIO <EOL> from tower_cli . utils . exceptions import TowerCLIError <EOL> from tests . compat import unittest <EOL> class ExceptionTests ( unittest . TestCase ) : <EOL> """<STR_LIT>""" <EOL> def test_show ( self ) : <EOL> """<STR_LIT>""" <EOL> sio = StringIO ( ) <EOL> ex = TowerCLIError ( '<STR_LIT>' ) <EOL> ex . show ( file = sio ) <EOL> sio . seek ( <NUM_LIT:0> ) <EOL> self . assertIn ( '<STR_LIT>' , sio . read ( ) ) </s>
