diff options
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r-- | test/dialect/test_postgresql.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index ab3f54a66..fe45c441c 100644 --- a/test/dialect/test_postgresql.py +++ b/test/dialect/test_postgresql.py @@ -2816,7 +2816,8 @@ class HStoreTest(fixtures.TestBase): def test_where_has_key(self): self._test_where( - self.hashcol.has_key('foo'), + # hide from 2to3 + getattr(self.hashcol, 'has_key')('foo'), "test_table.hash ? %(hash_1)s" ) |