def homogeneous_dictionary(**kwargs): """Return a strategy which generates a dictionary of uniform key:value type.""" return index_types.flatmap(lambda s: hs.dictionaries(s(), s(), **kwargs))