Skip to content

Commit

Permalink
test_path uses cross-platform path separator
Browse files Browse the repository at this point in the history
  • Loading branch information
ezk84 committed May 20, 2015
1 parent 55766d3 commit 8c8d8a8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion commands/test_runner.py
Expand Up @@ -127,7 +127,7 @@ def test_path(self):
"""

real_path = os.path.relpath(
self.view.file_name(), self.test_root).replace('/', '.')
self.view.file_name(), self.test_root).replace(os.sep, '.')
print(real_path)
if real_path is not None:
return real_path[:-3]
Expand Down

0 comments on commit 8c8d8a8

Please sign in to comment.