/pypy/tool/pytest/confpath.py

https://bitbucket.org/pypy/pypy/ · Python · 11 lines · 10 code · 1 blank · 0 comment · 0 complexity · 87b955e92a7410fc4a43eeab4e2078ec MD5 · raw file

  1. import py
  2. import pypy
  3. import rpython
  4. from pypy.tool import lib_pypy
  5. pypydir = py.path.local(pypy.__file__).dirpath()
  6. rpythondir = py.path.local(rpython.__file__).dirpath()
  7. distdir = pypydir.dirpath()
  8. testresultdir = distdir.join('testresult')
  9. assert pypydir.check(dir=1)
  10. testdir = lib_pypy.LIB_PYTHON.join('test')