MCPcopy Create free account
hub / github.com/DEAP/deap / setUp

Method setUp

tests/test_convergence.py:372–374  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

370@unittest.skipUnless(numpy, "requires numpy")
371class TestMultiObjectiveNumpy(TearDownCreatorTestCase):
372 def setUp(self):
373 creator.create(FITCLSNAME, base.Fitness, weights=(-1.0, -1.0))
374 creator.create(INDCLSNAME, numpy.ndarray, fitness=creator.__dict__[FITCLSNAME])
375
376 def test_mo_cma_es(self):
377

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected