def check_is_sorted(sequence, kwargs, result): eq_(is_sorted(sequence, **kwargs), result)
def test_is_sorted_fails_on_dictionaries(): is_sorted({})
def test_is_sorted_fails_on_sets(): is_sorted(set())