pytest2/_py/path
holger krekel 86fc12dd15 resolves issue #59
resolves issue #48

Have the path.pyimport() helper raise an EnvironmentError if an
import of a given file returns a module that does not appear to
be coming from the actual path.  E.g. for a directory layout like this:

    a / test_whatever.py
    b / test_whatever.py

calling py.path.local("b/test_whatever.py").pyimport() will
fail if the other globally scoped test_whatever module was
loaded already.

--HG--
branch : trunk
2009-10-28 19:51:20 +01:00
..
gateway rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
__init__.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
cacheutil.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
common.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
local.py resolves issue #59 2009-10-28 19:51:20 +01:00
svnurl.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
svnwc.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00