Skip to content

Commit 3f27926

Browse files
committed
BF - allow for effect of abspath on windows
1 parent e4cf7c2 commit 3f27926

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

nibabel/tests/test_environment.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
import os
55
from os import environ as env
6-
from os.path import join as pjoin
6+
from os.path import join as pjoin, abspath
77
import sys
88

99
import numpy as np
@@ -63,7 +63,7 @@ def test_user_dir():
6363
exp = pjoin(home_dir, '_nipy')
6464
assert_equal(exp, nibe.get_nipy_user_dir())
6565
env[USER_KEY] = '/a/path'
66-
assert_equal('/a/path', nibe.get_nipy_user_dir())
66+
assert_equal(abspath('/a/path'), nibe.get_nipy_user_dir())
6767

6868

6969
def test_sys_dir():

0 commit comments

Comments
 (0)