bpo-26243: data= is positional-only just on CPython by ambv · Pull Request #11754 · python/cpython

Conversation

PyPy can take it as keyword just fine.

@serhiy-storchaka

I think it would be more correct to remove too strong failing assertions. Other tests should be passed on PyPy.

mozillazg pushed a commit to mozillazg/pypy that referenced this pull request

Feb 4, 2019

eamanu

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.

pitrou

x = zlib.compress(HAMLET_SCENE)
self.assertEqual(zlib.decompress(x), HAMLET_SCENE)

@support.cpython_only

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

Choose a reason for hiding this comment

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

Same here.

@csabella

@ambv ambv deleted the cpython_only_zlib branch

July 12, 2021 11:22

Labels