'Tests that creating two pools with the same name fails.'

def testDuplicateNameError(self):

    prefix = self.test_pool.name
    self.assertRaises(threadpool.DuplicateThreadpoolError, threadpool.ThreadPool, prefix, 10)
