Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/PaddlePaddle/PaddleFormers
/ wrapper
Function
wrapper
tests/testing_utils.py:89–91 ·
view source on GitHub ↗
(self, *args, **kwargs)
Source
from the content-addressed store, hash-verified
87
def
assert_raises(Error=AssertionError):
88
def
assert_raises_error(func):
89
def
wrapper(self, *args, **kwargs):
90
with
self.assertRaises(Error):
91
func(self, *args, **kwargs)
92
93
return
wrapper
94
Callers
nothing calls this directly
Calls
5
info
Method · 0.80
decode
Method · 0.45
get
Method · 0.45
items
Method · 0.45
pop
Method · 0.45
Tested by
no test coverage detected