Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix enforcemnt for classmethod #31

Merged
merged 4 commits into from
Dec 15, 2019
Merged

Conversation

ngoodman90
Copy link
Contributor

@ngoodman90 ngoodman90 commented Dec 15, 2019

#30

In enforcement.py, is_override is tested using getattr.
When given a classmethod, attributes can only be accessed once getting the method.

Fix enforcemnt for classmethod
Added test with classmethod
Fix typo
Simplify test
@mkorpela mkorpela merged commit 2004a01 into mkorpela:master Dec 15, 2019
@mkorpela
Copy link
Owner

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants