Skip to content
This repository has been archived by the owner on Mar 27, 2022. It is now read-only.

pydoc mocktest fails #9

Open
jmgurney opened this issue Nov 23, 2015 · 1 comment
Open

pydoc mocktest fails #9

jmgurney opened this issue Nov 23, 2015 · 1 comment

Comments

@jmgurney
Copy link

Trying to get docs for mocktest w/ pydoc fails w/:
$pydoc mocktest
Traceback (most recent call last):
File "/opt/local/bin/pydoc", line 5, in
pydoc.cli()
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 2374, in cli
help.help(arg)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 1839, in help
elif request: doc(request, 'Help on %s:')
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 1578, in doc
pager(render_doc(thing, title, forceload))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 1573, in render_doc
return title % desc + '\n\n' + text.document(object, name)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 361, in document
if inspect.ismodule(object): return self.docmodule(args)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 1153, in docmodule
contents.append(self.docother(value, key, name, maxlen=70))
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 1359, in docother
repr = self.repr(object)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/repr.py", line 24, in repr
return self.repr1(x, self.maxlevel)
File "/opt/local/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/pydoc.py", line 1008, in repr1
return cram(stripid(repr(x)), self.maxother)
File "./mocktest/matchers/base.py", line 48, in repr
return self.desc()
File "./mocktest/matchers/base.py", line 92, in matches
raise RuntimeError("SplatMatcher instance used without prefixing with '
'")
RuntimeError: SplatMatcher instance used without prefixing with '*'

This is from eaa2fa8.

@timbertson
Copy link
Owner

I've never used pydoc, so I have no idea what's going on here. The Makefile includes all the step for sphinx-build (might be a bit out of date, but it's a start).

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants