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:
Daniele Varrazzo 2014-08-30 14:30:20 +01:00
parent 8e06a51884
commit 6210af2763

View File

@ -127,9 +127,6 @@ class ConnectionTests(ConnectingTestCase):
cur.execute(sql)
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])
def test_server_version(self):