summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_py3kwarn.py
Commit message (Collapse)AuthorAgeFilesLines
* use assert[Not]In where appropriateEzio Melotti2010-01-231-3/+3
|
* Issue #7092: Remove py3k warning when importing cPickle. 2to3 handlesAntoine Pitrou2010-01-081-1/+1
| | | | | | renaming of `cPickle` to `pickle`. The warning was annoying since there's no alternative to cPickle if you care about performance. Patch by Florent Xicluna.
* improve several corner cases related with argument names in parenthesisBenjamin Peterson2009-11-191-0/+12
| | | | | | | | | - Fix #7362: give a good error message for parenthesized arguments with defaults. - Add a py3k warning for any parenthesized arguments since those are not allowed in Py3. This warning is not given in tuple unpacking, since that incurs the tuple unpacking warning.
* Fix bad variable name in r73846.Alexandre Vassalotti2009-07-051-2/+2
|
* Issue 2370: Add Python 3 warnings for the removal of operator.isCallable andAlexandre Vassalotti2009-07-051-0/+12
| | | | | | operator.sequenceIncludes. Patch contributed by Jeff Balogh (and updated slightly by me).
* only order comparisons are removed in py3k #6119Benjamin Peterson2009-07-021-1/+10
|
* remove this test; a module level warning is enoughBenjamin Peterson2009-07-021-11/+0
|
* convert usage of fail* to assert*Benjamin Peterson2009-06-301-1/+1
|
* fix incorrect auto-translation of TestSkipped -> unittest.SkipTestBenjamin Peterson2009-03-261-3/+2
|
* remove test_support.TestSkipped and just use unittest.SkipTestBenjamin Peterson2009-03-261-2/+2
|
* add py3k warnings to frame.f_exc_*Benjamin Peterson2008-12-221-0/+10
|
* give a py3k warning when 'nonlocal' is used as a variable nameBenjamin Peterson2008-10-251-41/+23
|
* Issue #3781: Final cleanup of warnings.catch_warnings and its usage in the ↵Nick Coghlan2008-09-111-40/+85
| | | | test suite. Closes issue w.r.t. 2.6 (R: Brett Cannon)
* warnings.catch_warnings() now returns a list or None instead of the customBrett Cannon2008-09-091-64/+36
| | | | | | | | WarningsRecorder object. This makes the API simpler to use as no special object must be learned. Closes issue 3781. Review by Benjamin Peterson.
* Deprecate bsddb for removal in Python 3.0.Brett Cannon2008-09-051-1/+1
| | | | | Closes issue 3776. Review by Nick Coghlan.
* test_py3kwarn had been overlooked when test.test_support.catch_warning() wasBrett Cannon2008-09-031-10/+10
| | | | | | | re-implemented to use warnings.catch_warnings() and had its API improved. Closes issue #3768. Code review by Benjamin Peterson.
* remove py3k warnings about the threading api; update docsBenjamin Peterson2008-09-011-35/+0
| | | | Reviewer: Benjamin Peterson
* generate py3k warnings on __getslice__, __delslice__, and __setslice__Benjamin Peterson2008-08-241-0/+22
| | | | Reviewer: Brett Cannon
* add py3k warnings for old threading APIsBenjamin Peterson2008-08-181-0/+34
| | | | they will still live in 3.0 but it can't hurt
* add a test for reduce's moveBenjamin Peterson2008-08-181-0/+6
|
* Issue 2235: Py3k warnings are now emitted for classes that will no longer ↵Nick Coghlan2008-08-111-4/+88
| | | | inherit a__hash__ implementation from a parent class in Python 3.x. The standard library and test suite have been updated to not emit these warnings.
* Deprecate the sunaudio module for removal in Python 3.0. The sunau module ↵Brett Cannon2008-07-181-2/+3
| | | | can provide similar functionality.
* fix test_py3kwarnsBenjamin Peterson2008-07-141-18/+19
| | | | The fact that this was failing and went unnoticed so long seems like a good argument for being able to enable and disble py3kwarnings through Python.
* Make test.test_support.catch_warnings more robust as discussed on ↵Nick Coghlan2008-07-131-28/+2
| | | | python-dev. Also add explicit tests for itto test_warnings.
* add py3k warnings to rfc822Benjamin Peterson2008-06-121-1/+1
|
* deprecated mimetoolsBenjamin Peterson2008-06-121-1/+1
|
* warn about parameter tuple unpackingBenjamin Peterson2008-06-081-0/+6
|
* Warn about assigning to Py3k keywords (True and False)Benjamin Peterson2008-06-081-0/+49
|
* change Py3k backquote warning to a SyntaxWarning and add a testBenjamin Peterson2008-06-081-0/+6
|
* Deprecate htmllib and sgmllib for 3.0.Georg Brandl2008-06-011-1/+1
|
* UserString.MutableString has been removed in Python 3.0.Brett Cannon2008-05-291-0/+8
| | | | Works on issue #2877. Thanks Quentin Gallet-Gilles for the patch.
* Improvements for test_py3kwarnBenjamin Peterson2008-05-271-5/+5
| | | | | - Always show warnings so they are always catchable - Make test_os_path_walk faster by walking a less populous directory
* warn about some members of the commands moduleBenjamin Peterson2008-05-261-0/+9
|
* ConfigParser renaming reversal part 3: move module into place and adapt imports.Georg Brandl2008-05-251-40/+1
|
* Queue renaming reversal part 3: move module into place andGeorg Brandl2008-05-251-3/+1
| | | | change imports and other references. Closes #2925.
* socketserver renaming reversal part 3: move the module into the rightGeorg Brandl2008-05-241-1/+0
| | | | 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
|
* Tkinter rename reversal: remove tkinter package, adapt imports and docs.Georg Brandl2008-05-201-17/+1
|
* revert creation of the html.entities and html.parser modulesFred Drake2008-05-201-2/+0
| | | | (http://bugs.python.org/issue2882)
* #2353: raise Py3k warning in file.xreadlines().Georg Brandl2008-05-171-0/+7
|
* rename HTMLParser to html.parser, htmlentitydefs to html.entitiesFred Drake2008-05-171-0/+2
| | | | (http://bugs.python.org/issue2882)
* revert 63425 over Guido's Febuary message about this, that I missedBenjamin Peterson2008-05-171-14/+0
|
* fix spellingBenjamin Peterson2008-05-171-1/+1
|
* add Py3k warnings to oct and hex. backport hex behavior (because it's not ↵Benjamin Peterson2008-05-171-0/+14
| | | | different)
* Added Python 3.0 warning to cPickle.Alexandre Vassalotti2008-05-161-1/+1
|
* Tkinter rename, step 2: fix imports and add stub modules.Georg Brandl2008-05-161-0/+15
|
* Renamed the repr module to reprlib.Alexandre Vassalotti2008-05-161-1/+3
| | | | Added stub module for repr.
* Deprecated statvfs for removal in 3.0.Brett Cannon2008-05-161-1/+1
|
* Deprecate sunaudiodev/SUNAUDIODEV for removal in 3.0.Brett Cannon2008-05-161-1/+3
|