]> git.ipfire.org Git - thirdparty/sqlalchemy/sqlalchemy.git/commitdiff
make sure integer is here. only the C ext doesn't try to call "key_fallback" for...
authorMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Jun 2012 16:15:15 +0000 (12:15 -0400)
committerMike Bayer <mike_mp@zzzcomputing.com>
Mon, 11 Jun 2012 16:15:15 +0000 (12:15 -0400)
pure python one does.

test/aaa_profiling/test_resultset.py

index 2fc335504ff5bcb6a469279295e288f16825fbfe..bb16ea1240639643fa276e8170f81bb56da883eb 100644 (file)
@@ -109,6 +109,7 @@ class RowProxyTest(fixtures.TestBase):
             enumerate(zip(keys, processors, row)):
             for key in keyobjs:
                 keymap[key] = (processor, key, index)
+            keymap[index] = (processor, key, index)
         return RowProxy(metadata, row, processors, keymap)
 
     def _test_getitem_value_refcounts(self, seq_factory):