jazzband / geojson

Python bindings and utilities for GeoJSON
https://pypi.python.org/pypi/geojson/
BSD 3-Clause "New" or "Revised" License
908 stars 120 forks source link

tests: include data.geojson into the PyPI distfile #61

Closed petrrr closed 9 years ago

petrrr commented 9 years ago

I realise that data.geojson seems not to be part of the PyPI distfile. This results in one test to fail, so I'd propose to include this file as well. I guess the fix is quick and just about modifying the MANIFEST.in. I also would propose to bug fix release after fixing this.

sudo nosetests .
..................E........................
======================================================================
ERROR: test_unicode_properties (tests.test_features.FeaturesTest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/opt/local/var/macports/build/_Users_petr_sandbox_SVN-repos_macports_dports_python_py-geojson/py27-geojson/work/geojson-1.2.1/tests/test_features.py", line 37, in test_unicode_properties
    with open("tests/data.geojson") as file_:
IOError: [Errno 2] No such file or directory: 'tests/data.geojson'

----------------------------------------------------------------------
Ran 43 tests in 0.035s

FAILED (errors=1)
frewsxcv commented 9 years ago

Thanks for the report; released in version 1.2.2

https://pypi.python.org/pypi/geojson/1.2.2