Add skip_before_libpq for test_get_dsn_parameters

This commit is contained in:
Oleksandr Shulgin 2015-10-30 13:02:45 +01:00
parent 602fefcae3
commit 051e6d1364

View File

@ -381,6 +381,7 @@ class ParseDsnTestCase(ConnectingTestCase):
self.assertRaises(TypeError, parse_dsn, None)
self.assertRaises(TypeError, parse_dsn, 42)
@skip_before_libpq(9, 3)
def test_get_dsn_parameters(self):
conn = self.connect()
d = conn.get_dsn_parameters()