Message405037
This test currently fails for both C and python tracebacks:
def test_exception_modulename_not_unicode(self):
class X(Exception):
def __str__(self):
return "I am X"
X.__module__ = 42
err = self.get_report(X())
exp = f'<unknown>.{X.__qualname__}: I am X'
self.assertEqual(exp, err) |
|
Date |
User |
Action |
Args |
2021-10-26 12:05:47 | iritkatriel | set | recipients:
+ iritkatriel |
2021-10-26 12:05:47 | iritkatriel | set | messageid: <1635249947.08.0.737111193049.issue45614@roundup.psfhosted.org> |
2021-10-26 12:05:47 | iritkatriel | link | issue45614 messages |
2021-10-26 12:05:47 | iritkatriel | create | |
|