1. Ned Batchelder
  2. coverage.py
  3. Issues
Issue #64 resolved

test failure -- ImportError: No module named eggs1

Zooko O'Whielacronx
created an issue

I got this test failure on Mac OS 10.4 with Python 2.5.4. Setting the PYTHONPATH makes the test pass:

HACK Wonwin-McBrootles-Computer:~/playground/coverage.py/ned$ nosetests .........................................................................E........................................................................................................................................................................... ====================================================================== ERROR: test_egg (test.test_codeunit.CodeUnitTest)


Traceback (most recent call last): File "/Users/wonwinmcbrootles/playground/coverage.py/ned/test/ test_codeunit.py", line 92, in test_egg import egg1, egg1.egg1 ImportError: No module named egg1


Ran 245 tests in 20.051s

FAILED (errors=1) HACK Wonwin-McBrootles-Computer:~/playground/coverage.py/ned$ PYTHONPATH=${PWD}/test/eggsrc nosetests .....................................................................................................................................................................................................................................................


Ran 245 tests in 19.263s

OK

Comments (3)

  1. Log in to comment