<s> import coverage <EOL> class CodeCoverage ( object ) : <EOL> def __init__ ( self , code_coverage_file ) : <EOL> self . coverage = coverage . coverage ( data_file = code_coverage_file ) <EOL> def __enter__ ( self ) : <EOL> self . coverage . start ( ) <EOL> def __exit__ ( self , type_ , value , traceback ) : <EOL> self . coverage . stop ( ) <EOL> self . coverage . save ( ) </s>
