Skip to content

Commit 7b2d1c0

Browse files
committed
Update tests for Python 3.11, closes #502
1 parent 5133339 commit 7b2d1c0

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

tests/test_cli.py

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -737,10 +737,7 @@ def test_query_invalid_function(db_path):
737737
cli.cli, [db_path, "select bad()", "--functions", "def invalid_python"]
738738
)
739739
assert result.exit_code == 1
740-
assert (
741-
result.output.strip()
742-
== "Error: Error in functions definition: invalid syntax (<string>, line 1)"
743-
)
740+
assert result.output.startswith("Error: Error in functions definition:")
744741

745742

746743
TEST_FUNCTIONS = """

0 commit comments

Comments
 (0)