Commits

Dave Abrahams  committed f6bf7c7

cosmetic improvement

  • Participants
  • Parent commits e1afec4

Comments (0)

Files changed (1)

File tests/test_pip.py

 #!/usr/bin/env python
 import os, sys
+from path import Path
 
 pyversion = sys.version[:3]
 lib_py = 'lib/python%s/' % pyversion
-here = os.path.dirname(os.path.abspath(__file__))
+# the directory containing all the tests
+here = Path(__file__).abspath.folder
 base_path = os.path.join(here, 'test-scratch')
 download_cache = os.path.join(here, 'test-cache')
 if not os.path.exists(download_cache):