summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorOleksandr Shulgin <oleksandr.shulgin@zalando.de>2015-10-27 18:21:24 +0100
committerOleksandr Shulgin <oleksandr.shulgin@zalando.de>2015-10-27 18:21:24 +0100
commitfbcf99ad070a3eae67c258d357ab86bda29793fd (patch)
treed475cc78d9608e2ed81efcb9e16fce943fc61ada /tests
parent433fb957cbca459810eaa2c962bf4b6c5d4fac0d (diff)
downloadpsycopg2-fbcf99ad070a3eae67c258d357ab86bda29793fd.tar.gz
Move replication connection to C level.
Diffstat (limited to 'tests')
-rw-r--r--tests/testutils.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/tests/testutils.py b/tests/testutils.py
index 5f4493f..70eb2cc 100644
--- a/tests/testutils.py
+++ b/tests/testutils.py
@@ -129,9 +129,6 @@ class ConnectingTestCase(unittest.TestCase):
conn = self.connect(**kwargs)
except psycopg2.OperationalError, e:
return self.skipTest("replication db not configured: %s" % e)
-
- if not conn.async:
- conn.autocommit = True
return conn
def _get_conn(self):