mirror of
https://github.com/wassname/geopandas.git
synced 2026-09-11 12:10:59 +08:00
TST: Skip geopy tests on python 3.2, as it's known to be broken.
This commit is contained in:
@@ -14,7 +14,10 @@ def _skip_if_no_geopy():
|
||||
try:
|
||||
import geopy
|
||||
except ImportError:
|
||||
raise nose.SkipTest("Geopy not installed. Skipping")
|
||||
raise nose.SkipTest("Geopy not installed. Skipping tests.")
|
||||
if sys.version_info[:2] == (3, 2):
|
||||
raise nose.SkipTest("Geopy is known to be broken on Python 3.2. "
|
||||
"Skipping tests.")
|
||||
|
||||
class TestGeocode(unittest.TestCase):
|
||||
def setUp(self):
|
||||
|
||||
Reference in New Issue
Block a user