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

Run test on pypy #257

Merged
merged 5 commits into from
Apr 5, 2024
Merged

Run test on pypy #257

merged 5 commits into from
Apr 5, 2024

Conversation

aisk
Copy link
Member

@aisk aisk commented Apr 3, 2024

No description provided.

@@ -263,12 +260,12 @@ def run_server():
time.sleep(0.2)


@pytest.mark.skipif(cybin is None, reason="Must be run in cpython")
@pytest.mark.skipif(_compat.PYPY, reason="Must be run in cpython")
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Because we are missing a __init__.py in the cybin folder, modern version of Python (not Python2) will treat this folder as a namespace module, so it's not None.

tests/test_protocol_cybinary.py Outdated Show resolved Hide resolved
@aisk aisk merged commit 62979f4 into Thriftpy:master Apr 5, 2024
10 checks passed
@aisk aisk deleted the test-pypy branch April 5, 2024 13:17
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.

1 participant