Commit Graph

11 Commits

Author SHA1 Message Date
Robert Xiao a6b337954f Use the proper error message with caused exceptions
When an exception is raised using "from", the chained exception goes into
__cause__, which results in a different message using Python's native traceback
handler. This patch properly replicates that error message.
2020-11-29 16:33:01 -06:00
Will McGugan 6faa216656 traceback improvements 2020-09-26 15:56:27 +01:00
Pim ae6a8465c0 Fixed failing test 2020-08-10 18:41:03 +02:00
Pim 9b2ef66bcc Blackify 2020-08-10 18:32:56 +02:00
Pim 2761f349e3 Exceptions in weird files 2020-08-10 18:31:28 +02:00
Pim 45eea9472a test for nested exceptions 2020-08-10 18:01:27 +02:00
Pim c5c06d1fa7 SyntaxError for traceback testing 2020-08-10 17:33:45 +02:00
Will McGugan 589bae9636 test fix 2020-07-16 17:24:16 +01:00
Will McGugan 9cba2027f4 more tests 2020-04-27 16:22:39 +01:00
Will McGugan 7029dbb74d Fix test for CI 2020-04-08 07:27:01 +01:00
Will McGugan d65be46dc4 Tests 2020-04-02 16:59:44 +01:00