summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_pkg.py
Commit message (Collapse)AuthorAgeFilesLines
* String method conversion.Eric S. Raymond2001-02-091-2/+2
|
* Patch #103343: Allow the important test_pkg to succeed under Jython.Tim Peters2001-01-211-3/+3
|
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-5/+5
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-4/+4
|
* Applying patch #100994 to allow JPython to use more of the standardBarry Warsaw2000-09-011-5/+12
| | | | | | | | | | | | | Python test suite. Specifically, - import time instead of strop in test_b1 - test for ClassType of exceptions using isinstance instead of equality in test_exceptions - remove __builtins__ from dir() output in test_pkg test_pkg output needs to be regenerated.
* Apply SF patch #101135, adding 'import module as m' and 'from module importThomas Wouters2000-08-171-0/+27
| | | | | | | | name as n'. By doing some twists and turns, "as" is not a reserved word. There is a slight change in semantics for 'from module import name' (it will now honour the 'global' keyword) but only in cases that are explicitly undocumented.
* Test that "import sys.imp" fails as it should.Guido van Rossum1998-05-191-1/+12
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-35/+35
|
* Add empty __init__.py files to the test packages so the new policyGuido van Rossum1997-10-311-1/+4
| | | | will recognize them.
* Added test for __all__.Guido van Rossum1997-09-081-0/+15
|
* Fix details in the test:Guido van Rossum1997-09-071-3/+13
| | | | | | - traceback should go to stdout! - don't import ni, import t1! - nicer support for command line options, only if run as __main__
* Added feeble test for reload() of packages and submodules.Guido van Rossum1997-09-061-0/+3
|
* Test set for package import.Guido van Rossum1997-09-061-0/+183