summaryrefslogtreecommitdiffstats
path: root/Lib/test/test___all__.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7055: test___all__ now greedily detects all modules which have anAntoine Pitrou2009-10-101-145/+80
| | | | __all__ attribute, rather than using a hardcoded and incomplete list.
* test loggingBenjamin Peterson2009-10-041-0/+1
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-1/+1
|
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-091-2/+2
| | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
* add __all__ to test_supportBenjamin Peterson2008-05-261-0/+1
|
* ConfigParser renaming reversal part 3: move module into place and adapt imports.Georg Brandl2008-05-251-1/+1
|
* Queue renaming reversal part 3: move module into place andGeorg Brandl2008-05-251-1/+1
| | | | change imports and other references. Closes #2925.
* socketserver renaming reversal part 3: move the module into the rightGeorg Brandl2008-05-241-1/+1
| | | | place and fix all references to it. Closes #2926.
* Revert the renaming of repr to reprlib.Brett Cannon2008-05-231-1/+1
|
* Revert copy_reg -> copyreg rename.Georg Brandl2008-05-201-1/+1
|
* Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6.Alexandre Vassalotti2008-05-161-1/+1
| | | | | This fixes the omissions of configparser, copyreg, queue and socketserver renaming.
* Changed references to the reprlib module to use its new name.Alexandre Vassalotti2008-05-161-1/+1
|
* Updated import statements to use the new `configparser` module name.Alexandre Vassalotti2008-05-141-1/+1
| | | | | | | | Updated the documentation to use the new name. Revert addition of the stub entry for the old name. Georg, I am reverting your changes since this commit should propagate to py3k.
* Updated all import statements to use the new socketserver module name.Alexandre Vassalotti2008-05-121-1/+1
| | | | | Renamed socketserver module in its own documentation. Renamed documentation references.
* Added module stub for copy_reg renaming in 3.0.Alexandre Vassalotti2008-05-111-1/+1
| | | | | | Renamed copy_reg to copyreg in the standard library, to avoid spurious warnings and ease later merging to py3k branch. Public documentation remains intact.
* Also ignore package deprecations.Brett Cannon2008-05-101-1/+2
|
* When testing a module's __all__, we really don't care if it is deprecated.Brett Cannon2008-05-061-15/+10
|
* Patch #2167 from calvin: Remove unused importsChristian Heimes2008-02-231-1/+1
|
* Have mimify raise a DeprecationWarning. The docs and PEP 4 have listed theBrett Cannon2007-05-301-0/+2
| | | | module as deprecated for a while.
* Have MimeWriter raise a DeprecationWarning as per PEP 4 and its documentation.Brett Cannon2007-05-301-0/+2
|
* Remove the gopherlib module. It has been raising a DeprecationWarning sinceBrett Cannon2007-05-161-5/+0
| | | | | | | Python 2.5. Also remove gopher support from urllib/urllib2. As both imported gopherlib the usage of the support would have raised a DeprecationWarning.
* Deprecate os.popen* and popen2 module in favor of the subprocess module.Neal Norwitz2007-05-111-0/+2
|
* Stop using test_support.verify().Collin Winter2007-04-041-8/+6
|
* Deprecate the sets module.Brett Cannon2007-01-131-0/+2
|
* regsub is gone, nothing to ignoreNeal Norwitz2006-03-261-2/+0
|
* Remove regsub, reconvert, regex, regex_syntax and everything under lib-old.Neal Norwitz2006-03-161-2/+0
|
* Rename sre.py -> re.pyNeal Norwitz2006-03-161-1/+0
|
* The pre module has been gone for a while. Need to go through and find other ↵Neal Norwitz2006-03-161-3/+0
| | | | modules that no longer exists, since errors are silently ignored.
* Suppress new deprecation warnings when running theTim Peters2006-02-181-0/+4
| | | | | | | | | | | test suite. For urllib2, move the import of gopherlib into the only function that uses it: users (including the test suite) certainly shouldn't see a deprecation warning just because they import urllib2! If they actually use gopher_open(), fine, _then_ they should see a deprecation warning.
* Remove the deprecated statcache module.Raymond Hettinger2004-12-051-3/+0
|
* Essentially SF patch 1061679: add missing __all__ to pickletools.py.Tim Peters2004-11-061-0/+1
| | | | Harmless.
* Removed no-longer-needed convolutions to recover from damaged modulesTim Peters2004-08-021-14/+0
| | | | getting left beyind in sys.modules.
* Move Decimal from the sandbox into production.Raymond Hettinger2004-07-011-0/+1
|
* Add heapq to list of __all__ checks.Raymond Hettinger2004-06-131-0/+1
|
* * Migrate set() and frozenset() from the sandbox.Raymond Hettinger2003-11-161-3/+2
| | | | | | | | * Install the unittests, docs, newsitem, include file, and makefile update. * Exercise the new functions whereever sets.py was being used. Includes the docs for libfuncs.tex. Separate docs for the types are forthcoming.
* Convert heapq.py to a C implementation.Raymond Hettinger2003-11-081-1/+0
|
* Test __all__ for unittest.pyRaymond Hettinger2003-09-161-1/+2
|
* Test Brett's addition of __all__ to Queue.Raymond Hettinger2003-07-011-0/+1
|
* All two more modules with __all__.Raymond Hettinger2003-05-101-0/+2
|
* Added missing modules to __all__ check.Raymond Hettinger2003-05-021-0/+4
|
* Used sets.Set() to compare unordered sequences.Raymond Hettinger2003-05-021-4/+3
| | | | Improves clarity and brevity.
* Combine the functionality of test_support.run_unittest()Walter Dörwald2003-05-011-3/+1
| | | | | | | | | | and test_support.run_classtests() into run_unittest() and use it wherever possible. Also don't use "from test.test_support import ...", but "from test import test_support" in a few spots. From SF patch #662807.
* Port test_pwd.py to PyUnit. Check that getpwall() andWalter Dörwald2003-04-151-159/+185
| | | | | | | | | | | | getpwnam()/getpwuid() return consistent data. Change test_grp to check that getgrall() and getgrnam()/getgrgid() return consistent data. Add error checks similar to test_pwd.py. Port test___all__.py to PyUnit. From SF patch #662807.
* Add special consideration for rlcompleter. As a side effect ofGuido van Rossum2002-10-091-1/+12
| | | | | | | | | | | | | | | | initializing GNU readline, setlocale(LC_CTYPE, "") is called, which changes the <ctype.h> macros to use the "default" locale (which isn't the *initial* locale -- the initial locale is the "C" locale in which only ASCII characters are printable). When the default locale is e.g. Latin-1, the repr() of string objects can include 8-bit characters with the high bit set; I believe this is due to the recent PRINT_MULTIBYTE_STRING changes to stringobject.c. This in turn screws up test_pyexpat and test_rotor, which depend on the repr() of 8-bit strings with high bit characters. The solution (for now) is to force the LC_CTYPE locale to "C" after importing rlcompleter. This is the locale required by the test suite anyway.
* Complete the absolute import patch for the test suite. All relativeBarry Warsaw2002-07-301-1/+1
| | | | | | | | imports of test modules now import from the test package. Other related oddities are also fixed (like DeprecationWarning filters that weren't specifying the full import part, etc.). Also did a general code cleanup to remove all "from test.test_support import *"'s. Other from...import *'s weren't changed.
* Tighten up some warning filters, and break some dependencies on theTim Peters2002-04-161-3/+6
| | | | order in which the tests are normally run.
* It makes more sense to call resetwarnings() after every test runs thanTim Peters2002-04-161-2/+0
| | | | to keep doing that in every test that wants to filter a warning.
* Reduce the number of test-suite DeprecationWarnings; start addingTim Peters2002-04-151-0/+2
| | | | resetwarnings() calls too.
* Ignore more deprecation warnings.Tim Peters2002-04-111-4/+6
|
* SF patch 490393: test___all__ and Jython; from Finn Bock.Tim Peters2001-12-071-3/+4
| | | | Don't even try to import _socket when running under Jython.