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

Commit 03b137d

Browse files
committed
Remove the sorting in the integration tests.
1 parent f2d4152 commit 03b137d

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

test/test_hpack_integration.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ def test_can_decode_a_story(self, story):
2626
except KeyError:
2727
pass
2828
decoded_headers = d.decode(unhexlify(case['wire']))
29-
decoded_headers = sorted(decoded_headers)
3029

3130
# The correct headers are a list of dicts, which is annoying.
3231
correct_headers = [(item[0], item[1]) for header in case['headers'] for item in header.items()]
33-
correct_headers = sorted(correct_headers)
32+
correct_headers = correct_headers
3433
assert correct_headers == decoded_headers
3534

3635
def test_can_encode_a_story_no_huffman(self, raw_story):

0 commit comments

Comments
 (0)