def test_doctests(): failure_count = pyproj.test() # if the below line fails, doctests have failed assert ( failure_count == 0 ), "{0} of the doctests in " "lib/pyproj/__init__.py failed".format( failure_count)
def test_doctests(): failure_count = pyproj.test() # shapely wheels not on windows, so allow failures there expected_failure_count = 0 try: import shapely # noqa except ImportError: if os.name == "nt" or platform.uname()[4] != "x86_64": expected_failure_count = 6 # if the below line fails, doctests have failed assert ( failure_count == expected_failure_count ), "{0} of the doctests in " "lib/pyproj/__init__.py failed".format( failure_count)
import pyproj pyproj.test()
def test_doctests(): failure_count = pyproj.test() # if the below line fails, doctests have failed assert ( failure_count == 0 ), "{0} of the doctests in " "lib/pyproj/__init__.py failed".format(failure_count)
import pyproj pyproj.test() from pyproj import Proj Proj(init='epsg:4269')