Commit Graph

13 Commits

Author SHA1 Message Date
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