Use absolute import for test package

This commit is contained in:
Amaury Forgeot d'Arc 2008-04-24 20:41:50 +00:00
parent 747720540c
commit 1c596d5604
1 changed files with 1 additions and 1 deletions

View File

@ -5,7 +5,7 @@ import pydoc
class TestDescriptions(unittest.TestCase):
def test_module(self):
# Check that pydocfodder module can be described
import pydocfodder
from test import pydocfodder
doc = pydoc.render_doc(pydocfodder)
assert "pydocfodder" in doc