MCPcopy Index your code
hub / github.com/clips/pattern / setUp

Method setUp

test/test_vector.py:598–603  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

596 model = None
597
598 def setUp(self):
599 # Test spam model for reduction.
600 if self.__class__.model is None:
601 self.__class__.model = model(top=250)
602 self.model = self.__class__.model
603 random.seed(0)
604
605 def tearDown(self):
606 random.seed()

Callers

nothing calls this directly

Calls 1

modelFunction · 0.70

Tested by

no test coverage detected