testtools-dev team mailing list archive
-
testtools-dev team
-
Mailing list archive
-
Message #00796
[Bug 791889] Re: The value_re argument for ExpectedException only fits some situations
** Branch linked: lp:~jml/testtools/matches-exception-791889
** Changed in: testtools
Status: Triaged => In Progress
** Changed in: testtools
Assignee: (unassigned) => Jonathan Lange (jml)
--
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:
In Progress
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