'Ensure an error is thrown when attempting to bind the wrong values
with dict bindings'

def test_imprecise_bind_values_dicts(self):

    prepared = self.session.prepare('\n                                                INSERT    INTO    test3rf.test    (k,    v)    VALUES        (?,    ?)\n                                                ')
    self.assertIsInstance(prepared, PreparedStatement)
    prepared.bind({'k': 1, 'v': 2, 'v2': 3})
    if (PROTOCOL_VERSION < 4):
        self.assertRaises(KeyError, prepared.bind, {'k': 1, 'v2': 3})
    else:
        prepared.bind({'k': 1, 'v2': 3})
    self.assertIsInstance(prepared, PreparedStatement)
    if (PROTOCOL_VERSION < 4):
        self.assertRaises(KeyError, prepared.bind, {})
    else:
        self.assertRaises(ValueError, prepared.bind, {})
