See: https://github.com/pycountry/pycountry/issues/108

diff --git src/pycountry/tests/test_general.py src/pycountry/tests/test_general.py
index 61dca7b..bedac98 100644
--- src/pycountry/tests/test_general.py
+++ src/pycountry/tests/test_general.py
@@ -242,6 +242,7 @@ def test_subdivision_empty_list():
     assert s.get(country_code="FOOBAR") is None
 
 
+@pytest.mark.skip(reason="no way of currently testing this under MacPorts")
 def test_has_version_attribute():
     assert pycountry.__version__ != "n/a"
     assert len(pycountry.__version__) >= 5
