[Biopython-dev] tabs in doctest results?
Vincent Davis
vincent at vincentdavis.net
Fri Dec 4 17:20:27 UTC 2015
I am working on the doctests in TreeConstructor.py.
for example in this doctest
https://github.com/biopython/biopython/blob/master/Bio/Phylo/TreeConstruction.py#L353
I can't get the test to accept the output. Even when the Expect looks the
same as the Got.
I am think this might be related to "All hard tab characters are expanded
to spaces"(python docs) and it looks like the output uses spaces.
https://github.com/biopython/biopython/blob/master/Bio/Phylo/TreeConstruction.py#L291
And in fact I can fix my problem if I replace the \t with 4 spaces in the
above __str__
Recommendations as to how to fix this?
Vincent Davis
720-301-3003
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.open-bio.org/pipermail/biopython-dev/attachments/20151204/453fc864/attachment.html>
More information about the Biopython-dev
mailing list