Fix py36 incompatibility with pathlib usage

This commit is contained in:
Ethan Paul 2021-11-24 18:33:17 -05:00
parent adab90736c
commit 1793cec13a
No known key found for this signature in database
GPG Key ID: D0E2CBF1245E92BF

View File

@ -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,