Enable Travis testing of nx_shp.py under Python 2.7