Navigation Menu

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

'zlib compression' not found in set(['RLE', 'ZLIB', None]) #72145

Closed
tiran opened this issue Sep 5, 2016 · 3 comments
Closed

'zlib compression' not found in set(['RLE', 'ZLIB', None]) #72145

tiran opened this issue Sep 5, 2016 · 3 comments
Assignees
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error

Comments

@tiran
Copy link
Member

tiran commented Sep 5, 2016

BPO 27958
Nosy @tiran

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = 'https://github.com/tiran'
closed_at = <Date 2016-09-06.09:37:45.221>
created_at = <Date 2016-09-05.22:23:57.765>
labels = ['type-bug', 'tests']
title = "'zlib compression' not found in set(['RLE', 'ZLIB', None])"
updated_at = <Date 2016-09-06.09:37:45.219>
user = 'https://github.com/tiran'

bugs.python.org fields:

activity = <Date 2016-09-06.09:37:45.219>
actor = 'christian.heimes'
assignee = 'christian.heimes'
closed = True
closed_date = <Date 2016-09-06.09:37:45.221>
closer = 'christian.heimes'
components = ['Tests']
creation = <Date 2016-09-05.22:23:57.765>
creator = 'christian.heimes'
dependencies = []
files = []
hgrepos = []
issue_num = 27958
keywords = []
message_count = 3.0
messages = ['274448', '274461', '274463']
nosy_count = 2.0
nosy_names = ['christian.heimes', 'python-dev']
pr_nums = []
priority = 'normal'
resolution = 'fixed'
stage = 'resolved'
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue27958'
versions = ['Python 3.5', 'Python 3.6']

@tiran
Copy link
Member Author

tiran commented Sep 5, 2016

http://buildbot.python.org/all/builders/AMD64%20FreeBSD%209.x%202.7/builds/1397/steps/test/logs/stdio fails:

======================================================================
FAIL: test_compression (test.test_ssl.ThreadedTests)
----------------------------------------------------------------------

Traceback (most recent call last):
  File "/usr/home/buildbot/python/2.7.koobs-freebsd9/build/Lib/test/test_ssl.py", line 2875, in test_compression
    self.assertIn(stats['compression'], { None, 'ZLIB', 'RLE' })
AssertionError: 'zlib compression' not found in set(['RLE', 'ZLIB', None])

It's probably fine to add 'zlib compression' to the list of accepted compression names.

@tiran tiran self-assigned this Sep 5, 2016
@tiran tiran added tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error labels Sep 5, 2016
@python-dev
Copy link
Mannequin

python-dev mannequin commented Sep 5, 2016

New changeset 5566732c8ac5 by Christian Heimes in branch '3.5':
Issue bpo-26470: Use short name rather than name for compression name to fix bpo-27958.
https://hg.python.org/cpython/rev/5566732c8ac5

New changeset 2593ed9a6a62 by Christian Heimes in branch '2.7':
Issue bpo-26470: Use short name rather than name for compression name to fix bpo-27958.
https://hg.python.org/cpython/rev/2593ed9a6a62

@python-dev
Copy link
Mannequin

python-dev mannequin commented Sep 5, 2016

New changeset d92f26a53b70 by Christian Heimes in branch 'default':
Issue bpo-26470: Use short name rather than name for compression name to fix bpo-27958.
https://hg.python.org/cpython/rev/d92f26a53b70

@tiran tiran closed this as completed Sep 6, 2016
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
tests Tests in the Lib/test dir type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant