chore: improve comments · python-zeroconf/python-zeroconf@32c3a08

Original file line numberDiff line numberDiff line change

@@ -222,7 +222,7 @@ def test_add_multicast_member(caplog: pytest.LogCaptureFixture) -> None:

222222

with patch("socket.socket.setsockopt"):

223223

assert netutils.add_multicast_member(sock, interface) is True

224224
225-

# Ran out of IGMP memberships is forgiving, but logs on linux

225+

# Ran out of IGMP memberships is forgiving and logs about igmp_max_memberships on linux

226226

caplog.clear()

227227

with (

228228

patch.object(sys, "platform", "linux"),

@@ -232,7 +232,7 @@ def test_add_multicast_member(caplog: pytest.LogCaptureFixture) -> None:

232232

assert "No buffer space available" in caplog.text

233233

assert "net.ipv4.igmp_max_memberships" in caplog.text

234234
235-

# Ran out of IGMP memberships is forgiving, but logs on linux

235+

# Ran out of IGMP memberships is forgiving and logs

236236

caplog.clear()

237237

with (

238238

patch.object(sys, "platform", "darwin"),