mirror of
https://github.com/simonw/sqlite-utils.git
synced 2026-07-23 17:34:32 +02:00
Update tests for Python 3.11, closes #502
This commit is contained in:
parent
5133339d00
commit
7b2d1c0ffd
1 changed files with 1 additions and 4 deletions
|
|
@ -737,10 +737,7 @@ def test_query_invalid_function(db_path):
|
|||
cli.cli, [db_path, "select bad()", "--functions", "def invalid_python"]
|
||||
)
|
||||
assert result.exit_code == 1
|
||||
assert (
|
||||
result.output.strip()
|
||||
== "Error: Error in functions definition: invalid syntax (<string>, line 1)"
|
||||
)
|
||||
assert result.output.startswith("Error: Error in functions definition:")
|
||||
|
||||
|
||||
TEST_FUNCTIONS = """
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue