From 7a64be72f8053ee0797ec4be0cc54e58ca1636e8 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Sat, 15 Aug 2020 16:36:33 -0700 Subject: [PATCH] Fixed tests for Python 3.6, again --- tests/test_saved_queries.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/test_saved_queries.py b/tests/test_saved_queries.py index 02666d4..0034689 100644 --- a/tests/test_saved_queries.py +++ b/tests/test_saved_queries.py @@ -6,9 +6,9 @@ @pytest.fixture def db_path(tmpdir): - data = tmpdir / "data.db" + data = str(tmpdir / "data.db") sqlite3.connect(data).execute("vacuum") - yield str(data) + yield data @pytest.fixture