Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Silence deprecation warning in test___all__ caused by an import bsddb. | Ezio Melotti | 2010-06-07 | 1 | -2/+2 |
| | |||||
* | import bsddb more robustly | Benjamin Peterson | 2010-04-03 | 1 | -0/+6 |
| | |||||
* | Remove useless (?) import from r79706 | Antoine Pitrou | 2010-04-03 | 1 | -1/+0 |
| | |||||
* | stop CObject deprecation warnings in test___all__ | Benjamin Peterson | 2010-04-03 | 1 | -0/+1 |
| | |||||
* | Replace catch_warnings with check_warnings when it makes sense. Use ↵ | Florent Xicluna | 2010-03-31 | 1 | -4/+2 |
| | | | | assertRaises context manager to simplify some tests. | ||||
* | Issue #7055: test___all__ now greedily detects all modules which have an | Antoine Pitrou | 2009-10-10 | 1 | -145/+80 |
| | | | | __all__ attribute, rather than using a hardcoded and incomplete list. | ||||
* | test logging | Benjamin Peterson | 2009-10-04 | 1 | -0/+1 |
| | |||||
* | convert usage of fail* to assert* | Benjamin Peterson | 2009-06-30 | 1 | -1/+1 |
| | |||||
* | warnings.catch_warnings() now returns a list or None instead of the custom | Brett Cannon | 2008-09-09 | 1 | -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_support | Benjamin Peterson | 2008-05-26 | 1 | -0/+1 |
| | |||||
* | ConfigParser renaming reversal part 3: move module into place and adapt imports. | Georg Brandl | 2008-05-25 | 1 | -1/+1 |
| | |||||
* | Queue renaming reversal part 3: move module into place and | Georg Brandl | 2008-05-25 | 1 | -1/+1 |
| | | | | change imports and other references. Closes #2925. | ||||
* | socketserver renaming reversal part 3: move the module into the right | Georg Brandl | 2008-05-24 | 1 | -1/+1 |
| | | | | place and fix all references to it. Closes #2926. | ||||
* | Revert the renaming of repr to reprlib. | Brett Cannon | 2008-05-23 | 1 | -1/+1 |
| | |||||
* | Revert copy_reg -> copyreg rename. | Georg Brandl | 2008-05-20 | 1 | -1/+1 |
| | |||||
* | Patch by Quentin Gallet-Gilles: Renaming leftovers for 2.6. | Alexandre Vassalotti | 2008-05-16 | 1 | -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 Vassalotti | 2008-05-16 | 1 | -1/+1 |
| | |||||
* | Updated import statements to use the new `configparser` module name. | Alexandre Vassalotti | 2008-05-14 | 1 | -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 Vassalotti | 2008-05-12 | 1 | -1/+1 |
| | | | | | Renamed socketserver module in its own documentation. Renamed documentation references. | ||||
* | Added module stub for copy_reg renaming in 3.0. | Alexandre Vassalotti | 2008-05-11 | 1 | -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 Cannon | 2008-05-10 | 1 | -1/+2 |
| | |||||
* | When testing a module's __all__, we really don't care if it is deprecated. | Brett Cannon | 2008-05-06 | 1 | -15/+10 |
| | |||||
* | Patch #2167 from calvin: Remove unused imports | Christian Heimes | 2008-02-23 | 1 | -1/+1 |
| | |||||
* | Have mimify raise a DeprecationWarning. The docs and PEP 4 have listed the | Brett Cannon | 2007-05-30 | 1 | -0/+2 |
| | | | | module as deprecated for a while. | ||||
* | Have MimeWriter raise a DeprecationWarning as per PEP 4 and its documentation. | Brett Cannon | 2007-05-30 | 1 | -0/+2 |
| | |||||
* | Remove the gopherlib module. It has been raising a DeprecationWarning since | Brett Cannon | 2007-05-16 | 1 | -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 Norwitz | 2007-05-11 | 1 | -0/+2 |
| | |||||
* | Stop using test_support.verify(). | Collin Winter | 2007-04-04 | 1 | -8/+6 |
| | |||||
* | Deprecate the sets module. | Brett Cannon | 2007-01-13 | 1 | -0/+2 |
| | |||||
* | regsub is gone, nothing to ignore | Neal Norwitz | 2006-03-26 | 1 | -2/+0 |
| | |||||
* | Remove regsub, reconvert, regex, regex_syntax and everything under lib-old. | Neal Norwitz | 2006-03-16 | 1 | -2/+0 |
| | |||||
* | Rename sre.py -> re.py | Neal Norwitz | 2006-03-16 | 1 | -1/+0 |
| | |||||
* | The pre module has been gone for a while. Need to go through and find other ↵ | Neal Norwitz | 2006-03-16 | 1 | -3/+0 |
| | | | | modules that no longer exists, since errors are silently ignored. | ||||
* | Suppress new deprecation warnings when running the | Tim Peters | 2006-02-18 | 1 | -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 Hettinger | 2004-12-05 | 1 | -3/+0 |
| | |||||
* | Essentially SF patch 1061679: add missing __all__ to pickletools.py. | Tim Peters | 2004-11-06 | 1 | -0/+1 |
| | | | | Harmless. | ||||
* | Removed no-longer-needed convolutions to recover from damaged modules | Tim Peters | 2004-08-02 | 1 | -14/+0 |
| | | | | getting left beyind in sys.modules. | ||||
* | Move Decimal from the sandbox into production. | Raymond Hettinger | 2004-07-01 | 1 | -0/+1 |
| | |||||
* | Add heapq to list of __all__ checks. | Raymond Hettinger | 2004-06-13 | 1 | -0/+1 |
| | |||||
* | * Migrate set() and frozenset() from the sandbox. | Raymond Hettinger | 2003-11-16 | 1 | -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 Hettinger | 2003-11-08 | 1 | -1/+0 |
| | |||||
* | Test __all__ for unittest.py | Raymond Hettinger | 2003-09-16 | 1 | -1/+2 |
| | |||||
* | Test Brett's addition of __all__ to Queue. | Raymond Hettinger | 2003-07-01 | 1 | -0/+1 |
| | |||||
* | All two more modules with __all__. | Raymond Hettinger | 2003-05-10 | 1 | -0/+2 |
| | |||||
* | Added missing modules to __all__ check. | Raymond Hettinger | 2003-05-02 | 1 | -0/+4 |
| | |||||
* | Used sets.Set() to compare unordered sequences. | Raymond Hettinger | 2003-05-02 | 1 | -4/+3 |
| | | | | Improves clarity and brevity. | ||||
* | Combine the functionality of test_support.run_unittest() | Walter Dörwald | 2003-05-01 | 1 | -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() and | Walter Dörwald | 2003-04-15 | 1 | -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 of | Guido van Rossum | 2002-10-09 | 1 | -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 relative | Barry Warsaw | 2002-07-30 | 1 | -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. |