summaryrefslogtreecommitdiff
path: root/tests/test_connection.py
diff options
context:
space:
mode:
Diffstat (limited to 'tests/test_connection.py')
-rwxr-xr-xtests/test_connection.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/test_connection.py b/tests/test_connection.py
index 8744488..833751b 100755
--- a/tests/test_connection.py
+++ b/tests/test_connection.py
@@ -465,7 +465,7 @@ class MakeDsnTestCase(ConnectingTestCase):
conn = self.connect()
d = conn.get_dsn_parameters()
self.assertEqual(d['dbname'], dbname) # the only param we can check reliably
- self.assertNotIn('password', d)
+ self.assert_('password' not in d, d)
class IsolationLevelsTestCase(ConnectingTestCase):