'A property you *must* match is probably better than one you have to
match a part of.'

def test_oneOf_and_anyOf_are_weak_matches(self):

    validator = Draft4Validator({'minProperties': 2, 'anyOf': [{'type': 'string'}, {'type': 'number'}], 'oneOf': [{'type': 'string'}, {'type': 'number'}]})
    best = self.best_match(validator.iter_errors({}))
    self.assertEqual(best.validator, 'minProperties')
