diff --git a/tests/test_convert.py b/tests/test_convert.py index 1f9e9ed15..3eca4cca1 100644 --- a/tests/test_convert.py +++ b/tests/test_convert.py @@ -80,7 +80,8 @@ def test_convert_output_multiple_column_error(fresh_db): table = fresh_db.table("table") with pytest.raises(ValueError) as excinfo: table.convert(["title", "other"], lambda v: v, output="out") - assert "output= can only be used with a single column" in str(excinfo.value) + + assert "output= can only be used with a single column" in str(excinfo.value) @pytest.mark.parametrize( diff --git a/tests/test_create.py b/tests/test_create.py index b738df952..b4a8e1e73 100644 --- a/tests/test_create.py +++ b/tests/test_create.py @@ -340,7 +340,8 @@ def test_create_error_if_invalid_self_referential_foreign_keys(fresh_db): pk="id", foreign_keys=(("ref_id", "one", "bad_column"),), ) - assert ex.value.args == ("No such column: one.bad_column",) + + assert ex.value.args == ("No such column: one.bad_column",) @pytest.mark.parametrize(