[svn r37788] guido, unless i am missing something there seem to be two
problems with your making Channel's public: you didn't import it (py.__.* is not lazy) and it fails the apigen tests even after fixing it. --HG-- branch : trunk
This commit is contained in:
parent
272812fd76
commit
443a0b4614
|
@ -16,7 +16,8 @@ def get_documentable_items(pkgdir):
|
||||||
sys.path.insert(0, str(pkgdir.dirpath()))
|
sys.path.insert(0, str(pkgdir.dirpath()))
|
||||||
rootmod = __import__(pkgdir.basename)
|
rootmod = __import__(pkgdir.basename)
|
||||||
d = pkg_to_dict(rootmod)
|
d = pkg_to_dict(rootmod)
|
||||||
d['execnet.Channel'] = py.__.execnet.channel.Channel
|
from py.__.execnet.channel import Channel
|
||||||
|
#d['execnet.Channel'] = Channel # XXX doesn't work
|
||||||
return 'py', d
|
return 'py', d
|
||||||
|
|
||||||
def build(pkgdir, dsa, capture):
|
def build(pkgdir, dsa, capture):
|
||||||
|
|
Loading…
Reference in New Issue