Add test for IPython.utils.localinterfaces
Fix loading IP addresses from subprocess output
Merge pull request #4380 from takluyver/test-load-ips

Test and fixes for localinterfaces