Testdoc generates docs for TestCases that are imported
Bug #120141 reported by
Andrew Bennetts
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
testdoc |
Invalid
|
Undecided
|
Unassigned |
Bug Description
For example,
from bzrlib.tests import TestCase
class TestMyCode(
...
will cause TestCase to be documented (in addition to TestMyCode), even though it's not defined in this file.
A workaround is to just import the module:
from bzrlib import tests
class TestMyCode(
...
To post a comment you must log in.
Now at https:/ /github. com/testing- cabal/testdoc/ issues/ 1