Open cooperlees opened 5 years ago
So this fails because I was lazy and parsed the human output of coverage as it made some thing easier for me. I use split on white space, and get all the coverage output as one str due to using maxsplits. Only way I can see how to sanely fix this is to parse the XML and reconstruct the output from the XML.
it might be easier to just parse stdout with a simple regex that expects some number of numeric fields, and capture everything before the first numeric field (minus trailing whitespace) as the filename.
Thanks for logging an issue with
ptr
. Here are some questions to help try and pull out as much information possible to help us help you!How is
ptr
not doing what you expect?I would of expected pathlib to handle this
What is your suggestion to make this better?
Unfortunately support spaces or see why pathlib does not.
Code/Bug example?
How can a developer reproduce this?
Add a unittest with a path to some code with a space in it.