Say I wrote a class
that resembles a dict
. I want it to pass the same unit test the standard dict
passes, with maybe some modifications.
Where can I find that code?
Python tests are included with the python source, in 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
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With