summaryrefslogtreecommitdiff
path: root/src/mailman/database/postgresql.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/mailman/database/postgresql.py')
-rw-r--r--src/mailman/database/postgresql.py5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/mailman/database/postgresql.py b/src/mailman/database/postgresql.py
index 1d1abca9e..4200ae4fe 100644
--- a/src/mailman/database/postgresql.py
+++ b/src/mailman/database/postgresql.py
@@ -43,13 +43,10 @@ class _TestDB:
self.database = database
def cleanup(self):
- self.database.store.execute('ABORT;')
+ self.database.store.rollback()
self.database.store.close()
config.db.store.execute('DROP DATABASE mmtest;')
- def abort(self):
- self.database.store.execute('ABORT;')
-
class PostgreSQLDatabase(StormBaseDatabase):