[issue9330] assertIn should check for membership support before testing
report at bugs.python.org
Thu Jul 22 23:12:06 CEST 2010
Michael Foord <michael at voidspace.org.uk> added the comment:
No, assertIn is for testing for membership in a container. If you pass it something that isn't a container then it indicates an error in the test (or misuse of the assert!).
Python tracker <report at bugs.python.org>
More information about the Python-bugs-list