Skip to content

Commit

Permalink
Update tests for Python 3.11, closes #502
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Oct 25, 2022
1 parent 5133339 commit 7b2d1c0
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions tests/test_cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -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 = """
Expand Down

0 comments on commit 7b2d1c0

Please sign in to comment.