summaryrefslogtreecommitdiff
path: root/python/tests/py-cmd_test.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/tests/py-cmd_test.py')
-rw-r--r--python/tests/py-cmd_test.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/tests/py-cmd_test.py b/python/tests/py-cmd_test.py
index acda2d742..c7ba0ab4b 100644
--- a/python/tests/py-cmd_test.py
+++ b/python/tests/py-cmd_test.py
@@ -57,7 +57,7 @@ assert_equal("site.ENABLE_USER_SITE", site.ENABLE_USER_SITE, None)
if sys.version_info[0] == 2:
assert_equal("len(sys.path)", len(sys.path), 4)
- assert_equal("sys.path[0]", sys.path[0], os.path.dirname(__file__))
+ assert_equal("sys.path[0]", sys.path[0], os.path.abspath(os.path.dirname(__file__)))
assert_equal("sys.path[1]", sys.path[1], "/extra")
assert_equal("sys.path[2]", sys.path[2], os.path.join(sys.executable, "internal"))
assert_equal("sys.path[3]", sys.path[3], os.path.join(sys.executable, "internal", "stdlib"))