MCPcopy Create free account
hub / github.com/NVIDIA/DALI / register_test

Method register_test

dali/test/python/test_utils.py:1028–1032  ·  view source on GitHub ↗

Use directly in test: sign_off.register_test("operator_name")

(self, *op_names)

Source from the content-addressed store, hash-verified

1026 return dummy
1027
1028 def register_test(self, *op_names):
1029 """Use directly in test: sign_off.register_test("operator_name")"""
1030 assert all(isinstance(op_name, str) for op_name in op_names)
1031 assert len(op_names)
1032 _tested_ops.update(op_names)
1033
1034 @property
1035 def tested_ops(self):

Callers 4

__call__Method · 0.95
flatten_operator_configsFunction · 0.80
the_decoratorFunction · 0.80

Calls 1

updateMethod · 0.45

Tested by

no test coverage detected