From: Mike Bayer Date: Sun, 18 Nov 2012 18:34:25 +0000 (-0500) Subject: another hide from 2to3 test X-Git-Tag: rel_0_8_0b2~40 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d1adef463a836dae83cb0981f06c9b9ad08df780;p=thirdparty%2Fsqlalchemy%2Fsqlalchemy.git another hide from 2to3 test --- 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" )