def setUp(self):
self.files = {}<EOL>with tempfile.NamedTemporaryFile(<EOL>prefix='<STR_LIT>', delete=False) as outp:<EOL><INDENT>self.addCleanup(os.remove, outp.name)<EOL>with open(resource_filename(__name__, '<STR_LIT>')) as inp:<EOL><INDENT>outp.write(inp.read())<EOL><DEDENT>self.files['<STR_LIT>'] = outp.name<EOL><DEDENT>with tempfile.NamedTemporaryFile(<EOL>prefix='<STR_LIT>', delete=False) as outp:<EOL><INDENT>self.addCleanup(os.remove, outp.name)<EOL>with open(resource_filename(__name__, '<STR_LIT>')) as inp:<EOL><INDENT>outp.write(inp.read())<EOL><DEDENT>self.files['<STR_LIT>'] = outp.name<EOL><DEDENT>
configuration.Configuration relies on static methods
        which load files by name.  Since we need to be able to run tests and
        potentially change the content of those files between tests without
        interfering with one another and with the system configuration, this
        setUp() function will allocate temporary files used only during the using
        conf/nupic-default.xml and conf/nupic-site.xml (relative to the unit tests)
        as templates.