Skip to content

Commit

Permalink
fix unittest for windows
Browse files Browse the repository at this point in the history
  • Loading branch information
Antony Lewis committed Jun 24, 2015
1 parent a105251 commit 519daf9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion getdist_tests/getdist_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ def callGetDist(args):
if os.getenv('TRAVIS', None):
return str(subprocess.check_output(['GetDist.py'] + args))
else:
return str(subprocess.check_output(['python', os.path.join(os.path.dirname(__file__), '../', 'GetDist.py')] + args))
return str(subprocess.check_output(['python', os.path.join(os.path.dirname(__file__), '..' + os.sep, 'GetDist.py')] + args))

os.chdir(self.tempdir)
res = callGetDist([self.root])
Expand Down

0 comments on commit 519daf9

Please sign in to comment.