Commits

Ronny Pfannschmidt committed 3dd277e

skip find_toplevel test on magic pylib import

Comments (0)

Files changed (1)

testing/test_walkpkg.py

 
 py_pkg = py.path.local(py.__file__).pypkgpath()
 
+@py.test.mark.skipif(py_pkg is None, reason='magical pylib import')
 def test_find_toplevel():
     pylib = find_toplevel('py')
     assert pylib == py_pkg