From 1793cec13ae6646f638170ff91820a20a4d0846c Mon Sep 17 00:00:00 2001 From: Ethan Paul <24588726+enpaul@users.noreply.github.com> Date: Wed, 24 Nov 2021 18:33:17 -0500 Subject: [PATCH] Fix py36 incompatibility with pathlib usage --- tests/fixtures.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/fixtures.py b/tests/fixtures.py index f598d94..562b753 100644 --- a/tests/fixtures.py +++ b/tests/fixtures.py @@ -9,7 +9,7 @@ def fakedb(tmp_path): """Create a temporary pho-database (fakedb) for testing fields""" sqlite = peewee.SqliteDatabase( - tmp_path / f"{uuid.uuid4()}.db", + str(tmp_path / f"{uuid.uuid4()}.db"), pragmas={ "journal_mode": "wal", "cache_size": -1 * 64000,