summaryrefslogtreecommitdiff
path: root/test/dialect/test_postgresql.py
diff options
context:
space:
mode:
authorMike Bayer <mike_mp@zzzcomputing.com>2012-11-18 13:34:25 -0500
committerMike Bayer <mike_mp@zzzcomputing.com>2012-11-18 13:34:25 -0500
commitd1adef463a836dae83cb0981f06c9b9ad08df780 (patch)
tree87a93590f6c45d729d3c11c61efd7403c73d15f0 /test/dialect/test_postgresql.py
parenta1aed312fc5babdbf458a02fa41e785184a1dc1a (diff)
downloadsqlalchemy-d1adef463a836dae83cb0981f06c9b9ad08df780.tar.gz
another hide from 2to3 test
Diffstat (limited to 'test/dialect/test_postgresql.py')
-rw-r--r--test/dialect/test_postgresql.py3
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"
)