def setUp(self):
    self.name = 'spam'
    self.filepath = os.path.join('ham', (self.name + '.py'))
    self.loader = self.machinery.SourceFileLoader(self.name, self.filepath)
def setUp(self):
    self.name = 'spam'
    self.filepath = os.path.join('ham', (self.name + '.py'))
    self.loader = self.machinery.SourceFileLoader(self.name, self.filepath)