mirror of
https://github.com/psycopg/psycopg2.git
synced 2024-11-23 01:16:34 +03:00
Add skip_before_libpq for test_get_dsn_parameters
This commit is contained in:
parent
602fefcae3
commit
051e6d1364
|
@ -381,6 +381,7 @@ class ParseDsnTestCase(ConnectingTestCase):
|
||||||
self.assertRaises(TypeError, parse_dsn, None)
|
self.assertRaises(TypeError, parse_dsn, None)
|
||||||
self.assertRaises(TypeError, parse_dsn, 42)
|
self.assertRaises(TypeError, parse_dsn, 42)
|
||||||
|
|
||||||
|
@skip_before_libpq(9, 3)
|
||||||
def test_get_dsn_parameters(self):
|
def test_get_dsn_parameters(self):
|
||||||
conn = self.connect()
|
conn = self.connect()
|
||||||
d = conn.get_dsn_parameters()
|
d = conn.get_dsn_parameters()
|
||||||
|
|
Loading…
Reference in New Issue
Block a user