summaryrefslogtreecommitdiffstats
path: root/Lib/test/test___all__.py
Commit message (Collapse)AuthorAgeFilesLines
* final round of __all__ lists (I hope) - skipped urllib2 because Moshe may beSkip Montanaro2001-03-011-0/+16
| | | | giving it a slight facelift
* sre_{parse, compile} no longer define __all__.Tim Peters2001-02-181-2/+0
|
* removed __all__ from several modulesSkip Montanaro2001-02-181-17/+0
|
* bunch more __all__ listsSkip Montanaro2001-02-151-0/+29
| | | | | | also modified check_all function to suppress all warnings since they aren't relevant to what this test is doing (allows quiet checking of regsub, for instance)
* test_pty started failing on Windows, but if and only if test___all__ wasTim Peters2001-02-121-2/+16
| | | | | | | | | | | | run first. Indirectly due to Skip adding check_all("pty") to test___all__: that caused the expected ImportError due to pty.py trying to import the non-existent FCNTL to get handled by test___all__, leaving a partial module object for pty in sys.modules, which caused the later import of pty via test_pty to succeed. Then test_tpy died with an AttributeError, due to trying to access attributes of pty that didn't exist. regrtest viewed that as a failure rather than the appropriate "test skipped". Fixed by deleting partial module objects in test___all__ when test___all__ handles an ImportError.
* __all__ for several more modulesSkip Montanaro2001-02-121-0/+11
|
* a few more __all__ listsSkip Montanaro2001-02-071-0/+4
|
* test for presence of __builtins__ in names before deleting it, enabling thisSkip Montanaro2001-02-071-1/+2
| | | | to work with Jython (ugh! I hate that name!). This closes patch 103665.
* added several more __all__ listsSkip Montanaro2001-02-061-0/+7
|
* added a few more __all__ listsSkip Montanaro2001-01-251-8/+10
| | | | test___all__.py: fail silently in check_all if the module can't be imported
* a few more modules get __all__Skip Montanaro2001-01-241-0/+9
|
* It's "gopherlib" not "gopher".Barry Warsaw2001-01-241-1/+1
|
* added a few more __all__ listsSkip Montanaro2001-01-231-0/+8
| | | | fixed typo in ihooks docstring
* - Use "exec ... in dict" to avoid having to walk on eggshells; localsGuido van Rossum2001-01-221-14/+20
| | | | | | | | | no don't have to start with underscore. - Add spaces after commas in argument lists. - Only test dbhash if bsddb can be imported. (Wonder if there are more like this?)
* Whitespace normalization.Tim Peters2001-01-211-2/+1
|
* more __all__ updatesSkip Montanaro2001-01-201-0/+11
|
* added __all__ lists to a number of Python modulesSkip Montanaro2001-01-201-0/+55
added test script and expected output file as well this closes patch 103297. __all__ attributes will be added to other modules without first submitting a patch, just adding the necessary line to the test script to verify more-or-less correct implementation.