Skip to content
This repository was archived by the owner on Jan 13, 2021. It is now read-only.

Commit 30e8578

Browse files
committed
No need to sort anymore.
1 parent 03b137d commit 30e8578

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

test/test_hpack_integration.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,9 @@ def test_can_encode_a_story_no_huffman(self, raw_story):
3939
for case in raw_story['cases']:
4040
# The input headers are a list of dicts, which is annoying.
4141
input_headers = [(item[0], item[1]) for header in case['headers'] for item in header.items()]
42-
input_headers = sorted(input_headers)
4342

4443
encoded = e.encode(input_headers, huffman=False)
4544
decoded_headers = d.decode(encoded)
46-
decoded_headers = sorted(decoded_headers)
4745

4846
assert input_headers == decoded_headers
4947

@@ -54,10 +52,8 @@ def test_can_encode_a_story_with_huffman(self, raw_story):
5452
for case in raw_story['cases']:
5553
# The input headers are a list of dicts, which is annoying.
5654
input_headers = [(item[0], item[1]) for header in case['headers'] for item in header.items()]
57-
input_headers = sorted(input_headers)
5855

5956
encoded = e.encode(input_headers, huffman=True)
6057
decoded_headers = d.decode(encoded)
61-
decoded_headers = sorted(decoded_headers)
6258

6359
assert input_headers == decoded_headers

0 commit comments

Comments
 (0)