In article <50b78e26$0$6945$e4fe5...@news2.news.xs4all.nl>,
Hans Mulder wrote:
> That is baffling indeed. It looks like nose is adding some
> directory to sys.path, which contains a module pyza.py instead
> of a package.
We finally figured it out. As it turns out, that's pretty close.
> Anot
On 29/11/12 04:13:57, Roy Smith wrote:
> I've got a minimal test script:
>
> -
> $ cat test_foo.py
> import pyza.models
> print pyza.models
>
> def test_foo():
> pass
> -
>
> pyza.models is a package. Under normal conditions, I can imp
I've got a minimal test script:
-
$ cat test_foo.py
import pyza.models
print pyza.models
def test_foo():
pass
-
pyza.models is a package. Under normal conditions, I can import it fine:
$ python
Python 2.7.3 (default, Aug 1 2012, 05:1