MCPcopy Index your code
hub / github.com/DeepLabCut/DeepLabCut / make_test_builder

Function make_test_builder

tests/utils/test_skeleton.py:33–39  ·  view source on GitHub ↗

Construct a SkeletonBuilder instance without calling __init__, so individual methods can be unit-tested in isolation.

()

Source from the content-addressed store, hash-verified

31
32
33def make_test_builder():
34 """
35 Construct a SkeletonBuilder instance without calling __init__,
36 so individual methods can be unit-tested in isolation.
37 """
38 builder = SkeletonBuilder.__new__(SkeletonBuilder)
39 return builder
40
41
42def attach_fake_canvas(builder):

Calls 1

__new__Method · 0.45

Tested by

no test coverage detected