summaryrefslogtreecommitdiff
path: root/testtools/matchers/_exception.py
Commit message (Collapse)AuthorAgeFilesLines
* Upgrade Python syntax with pyupgrade --py36-plusHugo van Kemenade2022-02-071-2/+2
|
* Remove redundant Python 2 compatability codeHugo2020-01-181-6/+2
|
* Upgrade Python syntax with pyupgradeHugo2020-01-181-3/+3
|
* Spelling fixes (#261)Ville Skyttä2017-05-291-1/+1
|
* Use explanatory functions for gnarly exception handling logic.Daniel Watkins2013-12-041-4/+12
|
* Remove and relocate some now un-needed compatibility functions.Daniel Watkins2013-12-031-4/+6
|
* Remove trailing whitespace.Daniel Watkins2013-12-031-1/+1
|
* Fix assertRaises when the exception has a metaclassNikola Dipanov2013-03-261-1/+3
| | | | | | | | | | | Due to not taking into account that the type of the class can be a subclass of type (which is the case when using metaclasses), assertRaises would report a false positive in case an exception that was expected had a custom metaclass. This patch introduces a more robust checking if a given object is a class or an instance of one, and adds a test case, to make sure exceptions with custom metaclasses don't break assertRaises.
* Rename core to implJonathan Lange2012-09-101-2/+2
|
* Move MatchesRegex to _basic.Jonathan Lange2012-09-081-1/+1
|
* Massive split Jonathan Lange2012-09-081-0/+124