86fc12dd15a3d96a05385aefe16bb2c9640c19f6
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
The py lib is a Python development support library featuring the following tools and modules: * py.test: tool for distributed automated testing * py.code: dynamic code generation and introspection * py.path: uniform local and svn path objects For questions and more information please visit http://pylib.org
Description
Languages
Python
100%