'We should be able to use a dict-like object for choices, not only a
dict, and still get dict-like output.'

def test_dict_like_extract(self):

    try:
        from UserDict import UserDict
    except ImportError:
        from collections import UserDict
    choices = UserDict({u'aa': u'bb', u'a1': None})
    search = u'aaa'
    result = process.extract(search, choices)
    self.assertTrue((len(result) > 0))
    for (value, confidence, key) in result:
        self.assertTrue((value in choices.values()))
