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
bpo-26243: data= is positional-only just on CPython #11754
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. |
| @@ -165,6 +165,7 @@ def test_speech(self): | |||
| 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.
| @@ -245,6 +246,7 @@ def test_pair(self): | |||
| 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