From d1adef463a836dae83cb0981f06c9b9ad08df780 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 18 Nov 2012 13:34:25 -0500 Subject: another hide from 2to3 test --- test/dialect/test_postgresql.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'test/dialect/test_postgresql.py') 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" ) -- cgit v1.2.1