I can't say anything about the logic as I don't know the testing framework, but in places where path separator conversion, python has specialized versions of its path handling for different platforms.<div><br></div>
<div>os.path.normalize would convert all path separators to the platform default</div><div>os.ntpath.normalize would convert all path separators to back-slashes</div><div>os.posixpath.normalize would convert all path separators to forward-slashes</div>
<div><br></div><div>These API became available in version 2.6.2, I don't know if that would be a problem or not.</div><div><br></div><div>-Nathan</div><div><br><div class="gmail_quote">On Fri, Jun 11, 2010 at 1:45 AM, Michael Spencer <span dir="ltr"><<a href="mailto:bigcheesegs@gmail.com">bigcheesegs@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">Here's a (more) proper patch for getting the tests to run on windows.<br>
With this only ~250 tests Unexpected Fail. I just need someone to make<br>
sure it doesn't break anything on other platforms.<br>
<br>
It feels kind of hacky, and I would appreciate any ideas on improvements.<br>
<br>
<a href="http://codereview.appspot.com/1657041/show" target="_blank">http://codereview.appspot.com/1657041/show</a><br>
<br>
- Michael Spencer<br>
</blockquote></div><br></div>