Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
test in links require exact class so Logit can't work in place of logit #2036
Since logit is a subclass of Logit and the test is for isinstance(link, links), then class attribute links must always have the parent class because Logit is not an instance of logit.
This could be fixed by :
Below is the code to reproduce: