From 9096cb6b962e26339e008e50bfd359125a9366b3 Mon Sep 17 00:00:00 2001 From: Ben Harling Date: Thu, 16 Aug 2018 08:41:19 +0100 Subject: [PATCH] Bump version, improve backwards compat --- pytest_sqlalchemy.py | 2 +- setup.py | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/pytest_sqlalchemy.py b/pytest_sqlalchemy.py index 01ed1a8..702ef59 100644 --- a/pytest_sqlalchemy.py +++ b/pytest_sqlalchemy.py @@ -49,7 +49,7 @@ def test_db(database_url, test_database_url): conn.execute('ROLLBACK') try: - conn.execute(f"DROP DATABASE {test_database_url.database}") + conn.execute("DROP DATABASE {}".format(test_database_url.database)) except ProgrammingError: pass finally: diff --git a/setup.py b/setup.py index 1a4a775..2c26097 100644 --- a/setup.py +++ b/setup.py @@ -13,7 +13,7 @@ def read(fname): setup( name='pytest-sqlalchemy', - version='0.1.0', + version='0.2.0', author='Ben Harling', author_email='bharling@crowdcomms.co.uk', maintainer='Ben Harling',