vmalloc/mongomock — pull request #27 by texuf (2013-05-31 01:35:29+00:00)
Title: support pymongo 2.4, return the same errors as pymongo in the case of a DuplicateKeyError

Can you take a look at this? I'm introducing a dependency on pymongo.errors inside the lib. Otherwise, my tests fail when I try to catch these errors. Is there any reason not to? Thanks.