diff options
author | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-12-26 12:06:21 +0100 |
---|---|---|
committer | Daniele Varrazzo <daniele.varrazzo@gmail.com> | 2016-12-26 12:06:21 +0100 |
commit | 7caba160b7083c64197329e17d0d0e0eb17c8639 (patch) | |
tree | 9c7a8221ccdbbf3efdbac0ccd49287cc90647a6f /tests/test_connection.py | |
parent | 121cf3b8f8426765d983579d3a4b2e932429cd9f (diff) | |
parent | e9577e9b890fd9a27bb146e8ea1c24eb562f28b2 (diff) | |
download | psycopg2-7caba160b7083c64197329e17d0d0e0eb17c8639.tar.gz |
Merge branch 'master' into fast-codecs
Diffstat (limited to 'tests/test_connection.py')
-rwxr-xr-x | tests/test_connection.py | 2 |
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): |