From 6210af27635fbd6156d4f76aebf757702a9a818c Mon Sep 17 00:00:00 2001 From: Daniele Varrazzo Date: Sat, 30 Aug 2014 14:30:20 +0100 Subject: [PATCH] Fixed excessively strict notices test Failing with PG 9.4 because it generates other debug messages during the test run (rehashing catalog cache). --- tests/test_connection.py | 3 --- 1 file changed, 3 deletions(-) diff --git a/tests/test_connection.py b/tests/test_connection.py index 65074048..340693e2 100755 --- a/tests/test_connection.py +++ b/tests/test_connection.py @@ -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):