[Python-ideas] introspectable assertions (original) (raw)
Ronny Pfannschmidt opensource at ronnypfannschmidt.de
Thu Feb 19 08:16:33 CET 2015
- Previous message: [Python-ideas] Accessible tools
- Next message: [Python-ideas] introspectable assertions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi,
the idea is that if
-> from future import assertion_introspection
then
-> assert foo.bar(baz) == abc.def(), msg DetailedAssertionError: {msg} foo -> <foo...> baz -> <bar ...> foo.bar() -> <...> abc -> ... abc.def() -> ... foo.bar(baz) == abc.def() -> ...
it would help introspection and testing utilities
-- Ronny
- Previous message: [Python-ideas] Accessible tools
- Next message: [Python-ideas] introspectable assertions
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]