From 4ee40405049d75e804400d6162afd339ae82e29e Mon Sep 17 00:00:00 2001 From: crusaderky Date: Tue, 5 Apr 2022 15:56:37 +0100 Subject: [PATCH] Trivial fix to test_nanny_worker_port_range --- distributed/cli/tests/test_dask_worker.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distributed/cli/tests/test_dask_worker.py b/distributed/cli/tests/test_dask_worker.py index e9355c82225..23080909e1c 100644 --- a/distributed/cli/tests/test_dask_worker.py +++ b/distributed/cli/tests/test_dask_worker.py @@ -180,7 +180,7 @@ async def test_nanny_worker_ports(c, s): @pytest.mark.slow @pytest.mark.flaky( - LINUX and sys.version_info == (3, 9), + LINUX and sys.version_info[:2] == (3, 9), reason="Race condition in Nanny.process.start? " "See https://github.com/dask/distributed/issues/6045", )