Commits

Michael Hudson-Doyle  committed 5e7a1fc

make this, like, work

  • Participants
  • Parent commits 4999fc6

Comments (0)

Files changed (1)

File pypy/interpreter/test/support.py

 import sys, os
 
-testdir   = os.path.dirname(os.path.abspath(__file__))
-parentdir = os.path.dirname(testdir)
-rootdir   = os.path.dirname(parentdir)
+opd = os.path.dirname
 
-sys.path.insert(0, rootdir)
+testdir   = opd(os.path.abspath(__file__))
+parentdir = opd(testdir)
+rootdir   = opd(parentdir)
+
+sys.path.insert(0, opd(rootdir))