Writing more interesting tests with assertions, exceptions, and parameters Using all the different execution options Writing fixtures to flexibly separate concerns and reuse code Using built-in fixtures like tm
" {exc_type}: {exc_msg}\n" " Displaying first and last {max_frames} stack frames out of {total}." ).format( exc_type=type(e).__name__, exc_msg=str(e), max_frames=max_frames, total=len(traceback), ) # Type ignored because adding two instaces of a List subtype # currently...