mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-26 10:53:44 +03:00
Fixed excessively strict notices test
Failing with PG 9.4 because it generates other debug messages during the test run (rehashing catalog cache).
This commit is contained in:
parent
8e06a51884
commit
6210af2763
|
@ -127,9 +127,6 @@ class ConnectionTests(ConnectingTestCase):
|
||||||
cur.execute(sql)
|
cur.execute(sql)
|
||||||
|
|
||||||
self.assertEqual(50, len(conn.notices))
|
self.assertEqual(50, len(conn.notices))
|
||||||
self.assert_('table50' in conn.notices[0], conn.notices[0])
|
|
||||||
self.assert_('table51' in conn.notices[1], conn.notices[1])
|
|
||||||
self.assert_('table98' in conn.notices[-2], conn.notices[-2])
|
|
||||||
self.assert_('table99' in conn.notices[-1], conn.notices[-1])
|
self.assert_('table99' in conn.notices[-1], conn.notices[-1])
|
||||||
|
|
||||||
def test_server_version(self):
|
def test_server_version(self):
|
||||||
|
|
Loading…
Reference in New Issue
Block a user