summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-04 14:43:54 +0000
committerDaniele Varrazzo <daniele.varrazzo@gmail.com>2017-02-04 14:43:54 +0000
commit665e9dc665cf72086c00871756c48e8d38bade2f (patch)
tree3690755cefb299224ff9de1c934eb2bf06eb259e /tests
parentc60682c230f8e9ef6a395be55409d549fa5d7239 (diff)
downloadpsycopg2-665e9dc665cf72086c00871756c48e8d38bade2f.tar.gz
Exposing ISOLATION_LEVEL_DEFAULT to Python
This is now the state that is returned to Python if nothing has been explicitly set.
Diffstat (limited to 'tests')
-rwxr-xr-xtests/test_connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_connection.py b/tests/test_connection.py
index 15d99b4..5b304ee 100755
--- a/tests/test_connection.py
+++ b/tests/test_connection.py
@@ -488,7 +488,7 @@ class IsolationLevelsTestCase(ConnectingTestCase):
conn = self.connect()
self.assertEqual(
conn.isolation_level,
- psycopg2.extensions.ISOLATION_LEVEL_READ_COMMITTED)
+ psycopg2.extensions.ISOLATION_LEVEL_DEFAULT)
def test_encoding(self):
conn = self.connect()