Re: Normalizing path strings and separators in cross-platform unit test scripts

2019-01-07 Thread eryk sun
On 1/7/19, Chris Angelico wrote: > On Tue, Jan 8, 2019 at 5:52 AM Malcolm Greene wrote: >> >> Is there a best practice way to convert Windows style paths (with >> backslash path separators) to Linux style paths with forward slash path >> separators? I've looked at the os and pathlib libraries wit

Re: Normalizing path strings and separators in cross-platform unit test scripts

2019-01-07 Thread Chris Angelico
On Tue, Jan 8, 2019 at 5:52 AM Malcolm Greene wrote: > > Any recommendations on normalizing path strings in cross platform > (Windows, Linux, macOS) for unit tests? > Our goal is to normalize path strings to use forward slash separators so > that we can consistently reference path strings in our u