pytest2/_py
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
..
builtin rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
cmdline fix "py.cleanup -d" - add test and check to only remove empty dirs (!) 2009-10-27 16:03:14 +01:00
code can't use .format() on jython :( 2009-10-27 16:45:51 -05:00
compat rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
io rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
log first round of fixing jython compatibility issues, marking some tests as xfail-on-jython 2009-10-27 21:34:11 +01:00
path resolves issue #59 2009-10-28 19:51:20 +01:00
process resolve issue 54 2009-10-14 23:54:01 +02:00
rest rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
test resolves issue #59 2009-10-28 19:51:20 +01:00
__init__.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
_com.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
_metainfo.py using apipkg 1.0b2 snapshot version - adjusting/cleaning up some impl-detail accesses 2009-10-27 21:31:42 +01:00
apipkg.py using apipkg 1.0b2 snapshot version - adjusting/cleaning up some impl-detail accesses 2009-10-27 21:31:42 +01:00
error.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
std.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00
xmlgen.py rewrote the initpkg mechanism and moved py lib implementation files to 2009-10-03 01:47:39 +02:00