guido van rossum hoaufpythonorg thu apr 17 2008 827 christian heimes wrote etc could simplified function assertop takes operator first argument import operator def assertopself op b msg func getattroperator op selfassert_funca b assertopgt b assert g 1 requires thinking opportunities mistakes eg gt also like assert type isinstance issubclass contains yes michael innotin needed others various times guido van rossum home page httpwwwpythonorgguido _______________________________________________ pythondev mailing list zvlllneumpythonorg httpmailpythonorgmailmanlistinfopythondev unsubscribe httpmailpythonorgmailmanoptionspythondevpythondev40tangomucom thu 07 aug 2008 124516 0700 pythondev proposed unittest changes