mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
Use absolute import for test package
This commit is contained in:
parent
747720540c
commit
1c596d5604
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@ import pydoc
|
||||||
class TestDescriptions(unittest.TestCase):
|
class TestDescriptions(unittest.TestCase):
|
||||||
def test_module(self):
|
def test_module(self):
|
||||||
# Check that pydocfodder module can be described
|
# Check that pydocfodder module can be described
|
||||||
import pydocfodder
|
from test import pydocfodder
|
||||||
doc = pydoc.render_doc(pydocfodder)
|
doc = pydoc.render_doc(pydocfodder)
|
||||||
assert "pydocfodder" in doc
|
assert "pydocfodder" in doc
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue