Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/pytest-dev/pytest
/ __init__
Method
__init__
testing/io/test_saferepr.py:71–72 ·
view source on GitHub ↗
(self, exc_types)
Source
from the content-addressed store, hash-verified
69
70
class
RaisingOnStrRepr(BaseException):
71
def
__init__(self, exc_types):
72
self.exc_types = exc_types
73
74
def
raise_exc(self, *args):
75
try
:
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected