summaryrefslogtreecommitdiff
path: root/tests/test_async.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_async.py')
-rwxr-xr-xtests/test_async.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/test_async.py b/tests/test_async.py
index 08113c4..b51429f 100755
--- a/tests/test_async.py
+++ b/tests/test_async.py
@@ -429,6 +429,9 @@ class AsyncTests(unittest.TestCase):
def test_notices(self):
del self.conn.notices[:]
cur = self.conn.cursor()
+ if self.conn.server_version >= 90300:
+ cur.execute("set client_min_messages=debug1")
+ self.wait(cur)
cur.execute("create temp table chatty (id serial primary key);")
self.wait(cur)
self.assertEqual("CREATE TABLE", cur.statusmessage)