'``pset_field`` results in a set that enforces its type.'

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

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