-
-
Notifications
You must be signed in to change notification settings - Fork 33.7k
bpo-26243: data= is positional-only just on CPython #11754
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
Conversation
PyPy can take it as keyword just fine.
|
I think it would be more correct to remove too strong failing assertions. Other tests should be passed on PyPy. |
eamanu
left a comment
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. I test it on ubuntu 18.04 and its good.
| x = zlib.compress(HAMLET_SCENE) | ||
| self.assertEqual(zlib.decompress(x), HAMLET_SCENE) | ||
|
|
||
| @support.cpython_only |
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.
It's only the TypeError check that should be skipped, right? Not the whole test.
| self.assertIsInstance(dco.unconsumed_tail, bytes) | ||
| self.assertIsInstance(dco.unused_data, bytes) | ||
|
|
||
| @support.cpython_only |
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.
Same here.
PyPy can take it as keyword just fine.
https://bugs.python.org/issue26243