We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7ee58ad commit 1da496aCopy full SHA for 1da496a
ipyparallel/tests/test_util.py
@@ -15,6 +15,6 @@ def test_disambiguate_ip():
15
RuntimeWarning, match=f"IPython could not determine IPs for {wontresolve}"
16
):
17
assert util.disambiguate_ip_address('0.0.0.0', wontresolve) == wontresolve
18
- if (public_ips()):
+ if public_ips():
19
public_ip = public_ips()[0]
20
assert util.disambiguate_ip_address('0.0.0.0', public_ip) == localhost()
0 commit comments