1. Pypy
  2. Untitled project
  3. pypy

Source

pypy / pypy / test_all.py

Diff from to

File pypy/test_all.py

  • Ignore whitespace
         print >> sys.stderr, __doc__
         sys.exit(2)
     #Add toplevel repository dir to sys.path
-    sys.path.insert(0,os.path.dirname(os.path.dirname(__file__)))
+    sys.path.insert(0,os.path.dirname(os.path.dirname(os.path.realpath(__file__))))
     import pytest
     import pytest_cov
     sys.exit(pytest.main(plugins=[pytest_cov]))