mirror of
https://github.com/Aider-AI/aider.git
synced 2025-05-28 08:14:59 +00:00
![]() # Context: USER: the final test SHOULD raise ValueError ASSISTANT: I understand that you want the final test in `tests/test_utils.py` to raise a `ValueError`. I will modify the test to check for the exception. ```python tests/test_utils.py <<<<<<< ORIGINAL # Should raise a ValueError! list(utils.find_original_update_blocks(edit)) ======= with self.assertRaises(ValueError): list(utils.find_original_update_blocks(edit)) >>>>>>> UPDATED ``` Now, the final test in `tests/test_utils.py` will check if a `ValueError` is raised. |
||
---|---|---|
.. | ||
__init__.py | ||
test_coder.py | ||
test_commands.py | ||
test_io.py | ||
test_main.py | ||
test_repomap.py | ||
test_utils.py |