def assertNumQueries(self, num, func=None):

        context = QueriesContext(num, self)
        if func is None:
            return context

        with context:
            func()
Creates and returns a :class:`BoundStatement` instance using `values`.
dataset/ETHPy150Open klen/Flask-Foundation/base/core/tests.py/FlaskTest.assertNumQueries--crossover with--dataset/ETHPy150Open datastax/python-driver/cassandra/query.py/PreparedStatement.bind