summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2010-08-05 23:12:00 +0200
committerRonny Pfannschmidt <Ronny.Pfannschmidt@gmx.de>2010-08-05 23:12:00 +0200
commitb1e3c2f31867240254fe1902b3ee02ace044d533 (patch)
tree2856903300490801f1c069ab84c0bdf7335824a6
parentf74af4ea53b1e5d847c014719e4ebc4b18b5bc85 (diff)
downloadsetuptools-scm-b1e3c2f31867240254fe1902b3ee02ace044d533.tar.gz
make the cachefile test win32 safe
-rw-r--r--test_hgdistver.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/test_hgdistver.py b/test_hgdistver.py
index c4eb4b5..b2dc34e 100644
--- a/test_hgdistver.py
+++ b/test_hgdistver.py
@@ -155,9 +155,9 @@ def test_root_parameter_pass_by(monkeypatch):
def test_cachefiile_join(monkeypatch):
def assert_join(root, cachefile):
- assert cachefile == '/tmp/cachefile'
+ assert cachefile == os.path.join('tmp', 'cachefile')
monkeypatch.setattr(hgdistver, 'methods', [assert_join])
- hgdistver.get_version(root='/tmp', cachefile='cachefile')
+ hgdistver.get_version(root='tmp', cachefile='cachefile')