Skip to content

Commit 9a6adbb

Browse files
committed
✅ update test function signatures to use unused variable placeholders for clarity
1 parent b7c4543 commit 9a6adbb

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/unit/test_views_sqlglot.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ def test_mysql_viewdef_to_sqlite_parse_fallback(self, monkeypatch: pytest.Monkey
3030
# Force parse_one to raise so we hit the fallback path
3131
from sqlglot.errors import ParseError
3232

33-
def boom(*args, **kwargs):
33+
def boom(*_, **__):
3434
raise ParseError("boom")
3535

3636
monkeypatch.setattr("mysql_to_sqlite3.transporter.parse_one", boom)
@@ -51,7 +51,7 @@ def test_mysql_viewdef_to_sqlite_parse_fallback_strips_schema(self, monkeypatch:
5151
# Force parse_one to raise so we exercise the fallback path with schema qualifiers
5252
from sqlglot.errors import ParseError
5353

54-
def boom(*args, **kwargs):
54+
def boom(*_, **__):
5555
raise ParseError("boom")
5656

5757
monkeypatch.setattr("mysql_to_sqlite3.transporter.parse_one", boom)

0 commit comments

Comments
 (0)