Say I wrote classthat looks like dict. I want him to pass the same unit test standard dicttransfers, maybe some changes.
class
dict
Where can I find this code?
Python tests are included in the python source in Lib/test:
Lib/test
http://hg.python.org/releasing/2.7.4/file/9290822f2280/Lib/test/test_dict.py http://hg.python.org/releasing/3.3.1/file/8e5812b35480/Lib/test /test_dict.py
To build Paul's answer, it looks like python is now using mercurial
http://hg.python.org/releasing/2.7.3/file/7bb96963d067/Lib/test/test_dict.py
For other tests, go to
http://hg.python.org/
releasing/<python version> > browse ( ) > . hg.python.org svn.python.org.
releasing/<python version>
browse