MCPcopy Create free account
hub / github.com/pybind/pybind11 / __str__

Method __str__

tests/test_exceptions.py:316–319  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

314 self.failure_point = failure_point
315
316 def __str__(self):
317 if self.failure_point == "failure_point_str":
318 raise ValueError("triggered_failure_point_str")
319 return "FlakyException.__str__"
320
321
322@pytest.mark.parametrize(

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected