From 2f9889d79555ba24977fbbee5842378d186be3f3 Mon Sep 17 00:00:00 2001 From: David Kane Date: Mon, 16 Nov 2020 00:52:40 +0000 Subject: [PATCH] remove print statement --- tests/test_create.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/test_create.py b/tests/test_create.py index 112910a..0c992ff 100644 --- a/tests/test_create.py +++ b/tests/test_create.py @@ -411,7 +411,6 @@ def test_add_foreign_key_error_if_already_exists(fresh_db): fresh_db["books"].insert({"title": "Hedgehogs of the world", "author_id": 1}) fresh_db["authors"].insert({"id": 1, "name": "Sally"}, pk="id") fresh_db["books"].add_foreign_key("author_id", "authors", "id") - print(fresh_db["books"].foreign_keys) with pytest.raises(AlterError) as ex: fresh_db["books"].add_foreign_key("author_id", "authors", "id") assert "Foreign key already exists for author_id => authors.id" == ex.value.args[0]