<s> """<STR_LIT>""" <EOL> from logging import Logger , StreamHandler <EOL> from cStringIO import StringIO <EOL> log = Logger ( '<STR_LIT>' ) <EOL> def run ( ) : <EOL> out = StringIO ( ) <EOL> log . addHandler ( StreamHandler ( out ) ) <EOL> for x in xrange ( <NUM_LIT> ) : <EOL> log . warning ( '<STR_LIT>' ) <EOL> assert out . getvalue ( ) . count ( '<STR_LIT:\n>' ) == <NUM_LIT> </s>
