@classmethod<EOL><INDENT>def setup_class(cls):<DEDENT>
egg = tempfile.NamedTemporaryFile(suffix='<STR_LIT>', delete=False)<EOL>zip_egg = zipfile.ZipFile(egg, '<STR_LIT:w>')<EOL>zip_info = zipfile.ZipInfo()<EOL>zip_info.filename = '<STR_LIT>'<EOL>zip_info.date_time = cls.ref_time.timetuple()<EOL>zip_egg.writestr(zip_info, '<STR_LIT>')<EOL>zip_info = zipfile.ZipInfo()<EOL>zip_info.filename = '<STR_LIT>'<EOL>zip_info.date_time = cls.ref_time.timetuple()<EOL>zip_egg.writestr(zip_info, '<STR_LIT>')<EOL>zip_egg.close()<EOL>egg.close()<EOL>sys.path.append(egg.name)<EOL>cls.finalizers.append(EggRemover(egg.name))<EOL>
create a zip egg and add it to sys.path