def test_toElementTypeNotTextSingle(self):
        field = data_form.Field('hidden', var='test')
        element = field.toElement()

        self.assertEquals('hidden', element.getAttribute('type'))
Clamp the index in [0, size].
dataset/ETHPy150Open ralphm/wokkel/wokkel/test/test_data_form.py/FieldTest.test_toElementTypeNotTextSingle--crossover with--dataset/ETHPy150Open numba/numba/numba/targets/listobj.py/_ListPayloadMixin.clamp_index