'Threadpools can be pickled and unpickled, which should preserve the
number of threads and other parameters.'

def test_persistence(self):

    pool = threadpool.ThreadPool(7, 20)
    self.assertEqual(pool.min, 7)
    self.assertEqual(pool.max, 20)
    copy = pickle.loads(pickle.dumps(pool))
    self.assertEqual(copy.min, 7)
    self.assertEqual(copy.max, 20)
