ator = Schema({int})
>>> validator(set([42])) == set([42])
True
>>> with raises(er.Invalid, 'expected a set'):
...   validator(42)
>>> with raises(er.MultipleInvalid, 'invalid value in set'):
...   validator(set(['a']))
c