Skip to content

exception inheritance no longer works in Python 3 #4

Description

@gjb1002

The main reason is that Python 3 does not allow catching exceptions that don't inherit from BaseException. In Python 2 you could catch anything at all.

This caused the failure of TextTest self-tests NoSuchUser and NoSuchSender. Have fixed these for now by hacking in the mock file, should be reverted when this is fixed.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions