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

Function check_raises_re

dali/test/python/operator_1/test_arithmetic_ops.py:978–980  ·  view source on GitHub ↗
(kinds, types, op, shape, _, msg)

Source from the content-addressed store, hash-verified

976
977
978def check_raises_re(kinds, types, op, shape, _, msg):
979 with assert_raises(RuntimeError, regex=msg):
980 check_raises(kinds, types, op, shape)
981
982
983@raises(

Callers

nothing calls this directly

Calls 2

assert_raisesFunction · 0.90
check_raisesFunction · 0.85

Tested by

no test coverage detected