← Back to team overview

testtools-dev team mailing list archive

[Bug 791889] Re: The value_re argument for ExpectedException only fits some situations

 

** Changed in: testtools
       Status: In Progress => Fix Committed

** Changed in: testtools
    Milestone: None => next

-- 
You received this bug notification because you are a member of testtools
developers, which is subscribed to testtools.
https://bugs.launchpad.net/bugs/791889

Title:
  The value_re argument for ExpectedException only fits some situations

Status in testtools:
  Fix Committed

Bug description:
  It would be nice to assume a default of '.*' (e.g., any exception of
  that type), and to permit matchers rather than just regexes.

  For compatibility, a str/unicode argument could automatically create a
  regular expression matcher against the exception instance.

To manage notifications about this bug go to:
https://bugs.launchpad.net/testtools/+bug/791889/+subscriptions


References