This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author iritkatriel
Recipients iritkatriel
Date 2021-10-26.12:05:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635249947.08.0.737111193049.issue45614@roundup.psfhosted.org>
In-reply-to
Content
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)
History
Date User Action Args
2021-10-26 12:05:47iritkatrielsetrecipients: + iritkatriel
2021-10-26 12:05:47iritkatrielsetmessageid: <1635249947.08.0.737111193049.issue45614@roundup.psfhosted.org>
2021-10-26 12:05:47iritkatriellinkissue45614 messages
2021-10-26 12:05:47iritkatrielcreate