Skip to content

Commit d3c7924

Browse files
committed
Fix tests for newer SQLAlchemy.
1 parent 0d800a7 commit d3c7924

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/tests/test_magic.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1221,7 +1221,7 @@ def test_error_on_invalid_connection_string_with_possible_typo(ip_empty, clean_c
12211221
""" # noqa
12221222

12231223
invalid_connection_string_duckdb_bottom = f"""
1224-
Perhaps you meant to use the 'duckdb' db
1224+
Perhaps you meant to use the 'duckdb' db
12251225
To find more information regarding connection: https://jupysql.ploomber.io/en/latest/integrations/duckdb.html
12261226
12271227
To fix it:
@@ -1783,7 +1783,7 @@ def test_error_when_using_section_argument_but_values_are_invalid(ip_empty, tmp_
17831783
with pytest.raises(UsageError) as excinfo:
17841784
ip_empty.run_cell("%sql --section section")
17851785

1786-
message = "Could not parse SQLAlchemy URL from string 'not-a-driver://'"
1786+
message = "Could not parse SQLAlchemy URL from given URL string"
17871787
assert message in str(excinfo.value)
17881788

17891789

0 commit comments

Comments
 (0)