def test_bad_pruner(self):
     pruner = specmethod._Pruner()
     self.assertRaises(ValueError, self.smethod.setup, self.specex, pruner)
 def test_not_implemented_methods(self):
     pruner = specmethod._Pruner()
     self.assertRaises(NotImplementedError,
             pruner.generate_children, None, None)