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 1146: use the class's __get__ instead of the instance's __get__ #1147

Merged
merged 3 commits into from
May 13, 2022

Conversation

MegaIng
Copy link
Member

@MegaIng MegaIng commented May 12, 2022

Fixes #1146

@erezsh
Copy link
Member

erezsh commented May 13, 2022

Nice.

Let's add 3.11 to the test suites to make sure it's covered?

@MegaIng
Copy link
Member Author

MegaIng commented May 13, 2022

Ok, added 3.11 and a workaround to skip the tests if js2py does not like the python version. Sadly js2py prints out some bytes string. I don't think capturing and rerouting stdout is worth it just to avoid this output for the rare case where js2py was installed on a python version it doesn't support.

@erezsh
Copy link
Member

erezsh commented May 13, 2022

I agree, it's not worth the hassle.

@erezsh erezsh merged commit cfa50f9 into lark-parser:master May 13, 2022
@MegaIng MegaIng deleted the fix-1146 branch May 13, 2022 08:56
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.

tests.test_trees.TestTrees.test_smart_decorator fails with python 3.11
2 participants