From ab8b737f0d88115758797e47b10d75707f843b9f Mon Sep 17 00:00:00 2001 From: Pedro Holanda Date: Thu, 11 Jul 2024 17:35:15 +0200 Subject: [PATCH] Error matching --- test/python/test_substrait_from_json.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/python/test_substrait_from_json.py b/test/python/test_substrait_from_json.py index b4f0ee1..c226c74 100644 --- a/test/python/test_substrait_from_json.py +++ b/test/python/test_substrait_from_json.py @@ -20,6 +20,6 @@ def test_substrait_from_json(require): # Test closed connection connection.close() - with pytest.raises(duckdb.ConnectionException, match="Connection has already been closed"): + with pytest.raises(duckdb.ConnectionException, match="Connection"): connection.from_substrait_json(query_json).fetchone()[0]