Commit Graph

19 Commits

Author SHA1 Message Date
Ezio Melotti bdfa2e69e2 Backport test from #11926. 2011-04-28 07:59:33 +03:00
Raymond Hettinger 9aa5a34b6b Issue #11666: Teach pydoc to display full help for named tuples 2011-03-25 16:00:13 -07:00
Brian Curtin aeb2e8295d Fix #8225. xml.etree was displaying an incorrect link when viewed in help. 2010-03-31 03:10:21 +00:00
R. David Murray f28fd24c36 Issue 6292: for the moment at least, the test suite passes if run
with -OO.  Tests requiring docstrings are skipped.  Patch by
Brian Curtin, thanks to Matias Torchinsky for helping review and
improve the patch.
2010-02-23 00:24:49 +00:00
Ezio Melotti e511fc7979 #7930: fix stripid 2010-02-16 23:26:09 +00:00
Ezio Melotti aa98058cc4 use assert[Not]In where appropriate 2010-01-23 23:04:36 +00:00
Antoine Pitrou 161df94b0d Try to fix transient refleaks in test_pydoc. 2009-10-30 21:41:22 +00:00
Benjamin Peterson 5c8da86f3a convert usage of fail* to assert* 2009-06-30 22:57:08 +00:00
R. David Murray ef087da9e7 Fix issue 5230 by having pydoc's safeimport check to see if the import
error was thrown from itself in order to decide if the module can't be
found.  Thanks to Lucas Prado Melo for collaborating on the fix and tests.
2009-06-23 18:02:46 +00:00
R. David Murray d67ea7d4c6 fix issue #6121 by stripping spaces from the argument in the 'help'
function.
2009-05-27 20:07:21 +00:00
Nick Coghlan c060b0e7eb Issue 3190: pydoc now hides module __package__ attributes 2008-07-02 13:09:19 +00:00
Amaury Forgeot d'Arc 8e8de4afef Correct test_pydoc for win32 platforms, to account for normalized URLs:
C:\temp => file:///C|temp/
2008-06-10 21:37:15 +00:00
Benjamin Peterson 3a7305ed14 fix test_pydoc so it works on make installed Python installations
Also let it pass when invoked directly
2008-05-22 23:09:26 +00:00
Georg Brandl b7e419ebb9 Use inspect.getabsfile() to get the documented module's filename. 2008-05-20 08:10:03 +00:00
Georg Brandl fb3de1fcd2 Improve diffing logic and output for test_pydoc. 2008-05-20 08:07:36 +00:00
Benjamin Peterson f5c38dadf6 bring test_pydoc up to my high standards (now that I have them) 2008-05-18 20:48:07 +00:00
Georg Brandl 8632cc2573 GHOP #121: improve test_pydoc, by Benjamin Peterson. 2008-05-18 16:32:48 +00:00
Amaury Forgeot d'Arc 1c596d5604 Use absolute import for test package 2008-04-24 20:41:50 +00:00
Amaury Forgeot d'Arc 747720540c Add a few tests for pydoc.
This is a modified version of a patch proposed by Humberto Diogenes
in the discussion of issue1883.

I will merge manually this change into the py3k branch: the tests must be adapted.
2008-04-24 20:22:26 +00:00