From 97168dcb6df54eef5c91c0a213408867b7c02fae Mon Sep 17 00:00:00 2001 From: gal-a Date: Wed, 7 Oct 2026 21:13:21 +0300 Subject: [PATCH] Test invalid values for reindent_aligned and indent_after_first --- tests/test_format.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/tests/test_format.py b/tests/test_format.py index 93495067..046dcfa8 100644 --- a/tests/test_format.py +++ b/tests/test_format.py @@ -379,6 +379,10 @@ def test_option(self): sqlparse.format('foo', reindent=2) with pytest.raises(SQLParseError): sqlparse.format('foo', indent_tabs=2) + with pytest.raises(SQLParseError): + sqlparse.format('foo', reindent_aligned=2) + with pytest.raises(SQLParseError): + sqlparse.format('foo', indent_after_first=2) with pytest.raises(SQLParseError): sqlparse.format('foo', reindent=True, indent_width='foo') with pytest.raises(SQLParseError):