Localhost no longer recognized
Setup:
python3 -m pip install --upgrade validators==0.22.0
Code to reproduce:
import validators
validators.url("http://127.0.0.1:80/")
validators.url("http://localhost:80/")
Expected outcome:
Both calls to return true.
Similar to the other issue, this commit c43826c seems to comment the tests for localhost