-
-
Notifications
You must be signed in to change notification settings - Fork 32.3k
gh-136285: Improve pickle
protocol testing in test_interpreters
#136286
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
It looks that there is a bug. So it is better to fix it first and then run tests for all protocols. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM. 👍
This is the right way that preserves the same semantic as for protocols >= 2.
recv, send = channels.create() | ||
for ch in [recv, send]: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test repeats also the test in TestSendChannelAttrs. I think that only needs to test the receiver channel here.
recv, send = channels.create() | |
for ch in [recv, send]: | |
ch, _ = channels.create() |
(and de-indent the following code)
test_interpreters
misses tests with allpickle
protocols #136285