Skip to content

doctests failing when called without "file_or_dir" #13660

Answered by ThomasLecocq
ThomasLecocq asked this question in Q&A
Discussion options

You must be logged in to vote

Final solution: as it was linked to how chunking of the tests (either using directories, or using xdist), I started to search in dependencies... and found the culprit in pyshp 3.0 :

doctest.NORMALIZE_WHITESPACE = 1
https://github.com/GeospatialPython/pyshp/blob/master/src/shapefile.py#L55-L56

Which, I guess, gets defined everywhere & for everything. Will report.

Replies: 3 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
1 reply
@ThomasLecocq
Comment options

Answer selected by ThomasLecocq
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant