File tree Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Expand file tree Collapse file tree 2 files changed +11
-1
lines changed Original file line number Diff line number Diff line change 1+ # PyShp
2+
3+ This library reads and writes ESRI Shapefiles in pure Python.
4+
5+ [ ![ Build Status] ( https://travis-ci.org/GeospatialPython/pyshp.svg?branch=master )] ( https://travis-ci.org/GeospatialPython/pyshp )
6+
17## Contents
28
39[ Overview] ( #overview )
Original file line number Diff line number Diff line change @@ -1245,8 +1245,12 @@ def __fieldNorm(self, fieldName):
12451245def test (** kwargs ):
12461246 import doctest
12471247 doctest .NORMALIZE_WHITESPACE = 1
1248- verbosity = kwargs .get ('verbose' , 1 )
1248+ verbosity = kwargs .get ('verbose' , 0 )
1249+ if verbosity == 0 :
1250+ print ('Running doctests...' )
12491251 failure_count , test_count = doctest .testfile ("README.md" , verbose = verbosity )
1252+ if verbosity == 0 and failure_count == 0 :
1253+ print ('All test passed successfully' )
12501254 return failure_count
12511255
12521256if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments