]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
another hide from 2to3 test
authorMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Nov 2012 18:34:25 +0000 (13:34 -0500)
committerMike Bayer <mike_mp@zzzcomputing.com>
Sun, 18 Nov 2012 18:34:25 +0000 (13:34 -0500)
doc/build/conf.py
test/dialect/test_postgresql.py

index 67cabef545c37a6d96960ce111a7df422a2cd005..fd16b2df1ed5ebffd129b800beecf2caad741d29 100644 (file)
@@ -33,7 +33,6 @@ import sqlalchemy
 
 extensions = [
             'sphinx.ext.autodoc',
-            #    'sphinx.ext.doctest',
                 'builder.autodoc_mods',
                 'builder.changelog',
                 'builder.dialect_info',
index ab3f54a66abd1e7063ae734097ae0486a0fd91c3..fe45c441c82be0e6abf3bb07a0f6cf417d421add 100644 (file)
@@ -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"
         )