File tree 2 files changed +11
-1
lines changed
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
+
1
7
## Contents
2
8
3
9
[ Overview] ( #overview )
Original file line number Diff line number Diff line change @@ -1245,8 +1245,12 @@ def __fieldNorm(self, fieldName):
1245
1245
def test (** kwargs ):
1246
1246
import doctest
1247
1247
doctest .NORMALIZE_WHITESPACE = 1
1248
- verbosity = kwargs .get ('verbose' , 1 )
1248
+ verbosity = kwargs .get ('verbose' , 0 )
1249
+ if verbosity == 0 :
1250
+ print ('Running doctests...' )
1249
1251
failure_count , test_count = doctest .testfile ("README.md" , verbose = verbosity )
1252
+ if verbosity == 0 and failure_count == 0 :
1253
+ print ('All test passed successfully' )
1250
1254
return failure_count
1251
1255
1252
1256
if __name__ == "__main__" :
You can’t perform that action at this time.
0 commit comments