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 |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| common.py | ||
| conftest.py | ||
| repotest.dump | ||
| svntestbase.py | ||
| test_cacheutil.py | ||
| test_local.py | ||
| test_svnauth.py | ||
| test_svnurl.py | ||
| test_svnwc.py | ||