utils.debug: Add new argument to assert_raises: error_substring
utils.debug: Add new argument to assert_raises: error_substring

It checks raised error on containing specified substring. Example:

  >>> with assert_raises(Exception, error_substring='foo'):
  ...     raise Exception('bar foo bar')

  The above with statement will execute without raising any exception.

edgedb/edgedb,edgedb/edgedb,edgedb/edgedb