testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00840
[Bug 791889] Re: The value_re argument for ExpectedException only fits some situations
Oops. I thought this was a typo for MatchesException, but actually the
ExpectedException has not been fixed. Sorry.
** Changed in: testtools
Status: Fix Committed => Triaged
--
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:
Triaged
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