'``pvector_field`` results in a vector that enforces its type.'

@given(PYRSISTENT_STRUCT)
def test_checked_vector(self, klass):

    class Record(klass, ):
        value = pvector_field(int)
    record = Record(value=[1, 2])
    self.assertRaises(TypeError, record.value.append, 'hello')
