<s> import StringIO <EOL> import shakespeare . textutils <EOL> class TestTextUtils : <EOL> inStr = '''<STR_LIT>''' <EOL> inFileObj = StringIO . StringIO ( inStr ) <EOL> def test_get_snippet ( self ) : <EOL> exp = '''<STR_LIT>''' <EOL> out = shakespeare . textutils . get_snippet ( self . inFileObj , <NUM_LIT> ) <EOL> assert exp == out </s>
