HF RL Explorer

Task: Properly Assert Exception Raising in Pytest

Task: Properly Assert Exception Raising in Pytest: a task in Terminal-Lego-15k (Harbor dataset). You need to fix a pytest test case that checks for exception raising. The current implementation uses a try-except block with pytest.fail() , but this approach doesn't show the proper traceback of…

The task

You need to fix a pytest test case that checks for exception raising. The current implementation uses a try-except block with `pytest.fail()`, but this approach doesn't show the proper traceback of where the exception was raised inside the function being tested.

Part of PrimeIntellect/Terminal-Lego-15k.