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

Method setUp

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

Source from the content-addressed store, hash-verified

702 model = None
703
704 def setUp(self):
705 # Test spam model for clustering.
706 if self.__class__.model is None:
707 self.__class__.model = model(top=10)
708 self.model = self.__class__.model
709 random.seed(0)
710
711 def tearDown(self):
712 random.seed()

Callers

nothing calls this directly

Calls 1

modelFunction · 0.70

Tested by

no test coverage detected