def _fetch_all_as_dict(self, cursor):
        desc = cursor.description
        return [
            dict(zip([col[0] for col in desc], row))
            for row in cursor.fetchall()
        ]
Test that the new and old data APIs hit the same code paths.
dataset/ETHPy150Open ambitioninc/django-query-builder/querybuilder/query.py/Query._fetch_all_as_dict--crossover with--dataset/ETHPy150Open quantopian/zipline/tests/test_api_shim.py/TestAPIShim.test_old_new_data_api_paths