MCPcopy Index your code
hub / github.com/RustPython/RustPython / raiser

Method raiser

Lib/test/test_pathlib/test_pathlib.py:1525–1526  ·  view source on GitHub ↗
(*args, **kwargs)

Source from the content-addressed store, hash-verified

1523 def test_copy_error_handling(self):
1524 def make_raiser(err):
1525 def raiser(*args, **kwargs):
1526 raise OSError(err, os.strerror(err))
1527 return raiser
1528
1529 base = self.cls(self.base)

Callers

nothing calls this directly

Calls 1

strerrorMethod · 0.80

Tested by

no test coverage detected