Skip to content

Commit 633a1a5

Browse files
Remove bytes keys from tests (#9017)
1 parent cb4aa07 commit 633a1a5

File tree

2 files changed

+0
-13
lines changed

2 files changed

+0
-13
lines changed

distributed/http/scheduler/tests/test_scheduler_http.py

-2
Original file line numberDiff line numberDiff line change
@@ -571,8 +571,6 @@ async def test_sitemap(s, a, b):
571571
"[",
572572
"'",
573573
'"',
574-
b"123",
575-
(b"123", 1),
576574
("[", 1),
577575
("(", 1),
578576
("'", 1),

distributed/tests/test_client.py

-11
Original file line numberDiff line numberDiff line change
@@ -5412,17 +5412,6 @@ def test_dynamic_workloads_sync_random(c):
54125412
assert future.result(timeout=20) == 52
54135413

54145414

5415-
@gen_cluster(client=True)
5416-
async def test_bytes_keys(c, s, a, b):
5417-
key = b"inc-123"
5418-
future = c.submit(inc, 1, key=key)
5419-
result = await future
5420-
assert type(future.key) is bytes
5421-
assert set(s.tasks) == {key}
5422-
assert key in a.data or key in b.data
5423-
assert result == 2
5424-
5425-
54265415
@gen_cluster(client=True)
54275416
async def test_unicode_ascii_keys(c, s, a, b):
54285417
uni_type = str

0 commit comments

Comments
 (0)