Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
style(backend): Fix formatting in test_blocks_dos_vulnerability.py
Co-authored-by: Nicholas Tindle <[email protected]>

🤖 Generated with [Claude Code](https://claude.ai/code)
  • Loading branch information
github-actions[bot] committed Dec 19, 2025
commit 84cd7f49d66481c79f4baa3c7bfca0d449d59a58
Original file line number Diff line number Diff line change
Expand Up @@ -201,9 +201,7 @@ async def test_rejects_text_outside_root(self):
block = XMLParserBlock()
invalid_xml = "<root><child>value</child></root> trailing"

with pytest.raises(
ValueError, match="text outside the root element"
):
with pytest.raises(ValueError, match="text outside the root element"):
async for _ in block.run(XMLParserBlock.Input(input_xml=invalid_xml)):
pass

Expand Down
Loading