From d1adef463a836dae83cb0981f06c9b9ad08df780 Mon Sep 17 00:00:00 2001 From: Mike Bayer Date: Sun, 18 Nov 2012 13:34:25 -0500 Subject: [PATCH] another hide from 2to3 test --- doc/build/conf.py | 1 - test/dialect/test_postgresql.py | 3 ++- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/build/conf.py b/doc/build/conf.py index 67cabef545..fd16b2df1e 100644 --- a/doc/build/conf.py +++ b/doc/build/conf.py @@ -33,7 +33,6 @@ import sqlalchemy extensions = [ 'sphinx.ext.autodoc', - # 'sphinx.ext.doctest', 'builder.autodoc_mods', 'builder.changelog', 'builder.dialect_info', diff --git a/test/dialect/test_postgresql.py b/test/dialect/test_postgresql.py index ab3f54a66a..fe45c441c8 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" ) -- 2.47.3