raiser(ExcClass, args) ignores positional arguments when constructing the exception
raiser(ExcClass, args) ignores positional arguments when constructing the exception: a task in repo2rlenv-swe-smith (Harbor dataset). When raiser is called with an exception class and additional positional arguments (e.g., a message string), those arguments are not passed to the exception…
The task
When `raiser` is called with an exception class and additional positional arguments (e.g., a message string), those arguments are not passed to the exception constructor. The resulting exception is raised with no message, so `str(exc)` is `''` instead of the expected value.
Part of FineEnvs/repo2rlenv-swe-smith.