On 14 Mar 2012, at 12:33, Georg Brandl wrote: > On 14.03.2012 20:25, michael.foord wrote: >> http://hg.python.org/cpython/rev/2fda048ee32a >> changeset: 75632:2fda048ee32a >> user: Michael Foord<mich...@voidspace.org.uk> >> date: Wed Mar 14 12:24:34 2012 -0700 >> summary: >> PEP 417: Adding unittest.mock >> >> files: >> Lib/unittest/mock.py | 2151 ++++++++++ >> Lib/unittest/test/__init__.py | 1 + >> Lib/unittest/test/testmock/__init__.py | 17 + >> Lib/unittest/test/testmock/support.py | 23 + >> Lib/unittest/test/testmock/testcallable.py | 159 + >> Lib/unittest/test/testmock/testhelpers.py | 835 +++ >> Lib/unittest/test/testmock/testmagicmethods.py | 382 + >> Lib/unittest/test/testmock/testmock.py | 1258 +++++ >> Lib/unittest/test/testmock/testpatch.py | 1652 +++++++ >> Lib/unittest/test/testmock/testsentinel.py | 28 + >> Lib/unittest/test/testmock/testwith.py | 176 + >> 11 files changed, 6682 insertions(+), 0 deletions(-) > > I hope we also get some Dock/ ;)
I was thinking about providing documentation, but I thought maybe I'd leave it for you Georg. It's nice to get an outside perspective when documenting a new api.... <wink> I have issue 14295 to track adding mock and it won't be closed until the docs are completed. http://bugs.python.org/issue14295 On the topic of docs.... mock documentation is about eight pages long. My intention was to strip this down to just the api documentation, along with a link to the docs on my site for further examples and so on. I was encouraged here at the sprints to include the full documentation instead (minus the mock library comparison page and the front page can be cut down). So this is what I am now intending to include. It does mean the mock documentation will be "extensive". All the best, Michael > > Georg > > _______________________________________________ > Python-Dev mailing list > Python-Dev@python.org > http://mail.python.org/mailman/listinfo/python-dev > Unsubscribe: > http://mail.python.org/mailman/options/python-dev/fuzzyman%40voidspace.org.uk > -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com