summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--doc/build/conf.py1
-rw-r--r--test/dialect/test_postgresql.py3
2 files changed, 2 insertions, 2 deletions
diff --git a/doc/build/conf.py b/doc/build/conf.py
index 67cabef54..fd16b2df1 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 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"
)