summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Convert print to Py3Kurt B. Kaiser2009-04-041-1/+2
|
* Merged revisions 71023 via svnmerge fromKurt B. Kaiser2009-04-042-3/+9
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71023 | kurt.kaiser | 2009-04-01 22:44:54 -0400 (Wed, 01 Apr 2009) | 3 lines Remove port spec from run.py and fix bug where subprocess fails to extract port from command line when warnings are present. ........
* Patch for Py3k with fallback for comparing unsortable sequences inMichael Foord2009-04-042-5/+25
| | | | | | | | | | assertSameElements. Removed the expected failure and added another test case to confirm that this patch works for unsortable sequences that are the same (no fail) and different (fail). Issue #2578
* Skip test_recursionlimit_fatalerror under Windows because it generates an ↵Antoine Pitrou2009-04-041-0/+3
| | | | annoying and misleading crash dialog.
* must provide this methodBenjamin Peterson2009-04-041-0/+3
|
* #5391 make mmap work exclusively with bytesBenjamin Peterson2009-04-041-26/+20
|
* fix nameBenjamin Peterson2009-04-041-1/+1
|
* mark dictionary assertElementsSame test as an expected failureBenjamin Peterson2009-04-041-0/+3
|
* fix test_unittestBenjamin Peterson2009-04-041-2/+2
|
* Merged revisions 70837,70864,70878,71004,71032,71043 via svnmerge fromBenjamin Peterson2009-04-044-112/+1131
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70837 | gregory.p.smith | 2009-03-31 11:54:10 -0500 (Tue, 31 Mar 2009) | 9 lines The unittest.TestCase.assertEqual() now displays the differences in lists, tuples, dicts and sets on failure. Many new handy type and comparison specific assert* methods have been added that fail with error messages actually useful for debugging. Contributed in by Google and completed with help from mfoord and GvR at PyCon 2009 sprints. Discussion lives in http://bugs.python.org/issue2578. ........ r70864 | gregory.p.smith | 2009-03-31 14:03:28 -0500 (Tue, 31 Mar 2009) | 10 lines Rename the actual method definitions to the official assertFoo names. Adds unittests to make sure the old fail* names continue to work now and adds a comment that they are pending deprecation. Also adds a test to confirm that the plural Equals method variants continue to exist even though we're unlikely to deprecate those. http://bugs.python.org/issue2578 ........ r70878 | gregory.p.smith | 2009-03-31 14:59:14 -0500 (Tue, 31 Mar 2009) | 3 lines Issue an actual PendingDeprecationWarning for the TestCase.fail* methods. Document the deprecation. ........ r71004 | benjamin.peterson | 2009-04-01 18:15:49 -0500 (Wed, 01 Apr 2009) | 1 line remove double underscores ........ r71032 | michael.foord | 2009-04-01 22:20:38 -0500 (Wed, 01 Apr 2009) | 13 lines Better exception messages for unittest assert methods. - unittest.assertNotEqual() now uses the inequality operator (!=) instead of the equality operator. - Default assertTrue and assertFalse messages are now useful. - TestCase has a longMessage attribute. This defaults to False, but if set to True useful error messages are shown in addition to explicit messages passed to assert methods. Issue #5663 ........ r71043 | michael.foord | 2009-04-02 00:51:54 -0500 (Thu, 02 Apr 2009) | 7 lines Store the functions in the _type_equality_funcs as wrapped objects that are deep copyable. This allows for the deep copying of TestCase instances. Issue 5660 ........
* Fix test_memoryio under WindowsAntoine Pitrou2009-04-041-0/+4
|
* Replace the localized min/max calls with normal if/elseRaymond Hettinger2009-04-041-4/+4
|
* Update documentation for csv module to reflect changes in code,R. David Murray2009-04-041-1/+1
| | | | | | | | | | specifically that it now expects unicode input (and therefore the paragraph about it not handling unicode is deleted, as well as the 'how to handle unicode' examples) and that files should be opened with "newline=''" instead of binary mode. Also removed unused BytesIO import from test_csv. This addresses issue 4847.
* fix name againBenjamin Peterson2009-04-041-1/+1
|
* fix nameBenjamin Peterson2009-04-041-1/+1
|
* fix this testBenjamin Peterson2009-04-031-4/+4
|
* fix namingBenjamin Peterson2009-04-031-3/+3
|
* os.path.listdir -> os.listdirBenjamin Peterson2009-04-031-1/+1
|
* Added ',' thousands grouping to int.__format__. See PEP 378.Eric Smith2009-04-031-0/+11
| | | | | | | | | This is incomplete, but I want to get some version into the next alpha. I am still working on: Documentation. More tests. Implement for floats. In addition, there's an existing bug with 'n' formatting that carries forward to thousands grouping (issue 5515).
* Make http.server main program nicer for interactive use.Alexandre Vassalotti2009-04-031-4/+6
| | | | | | | | Remove unreachable calls to test(). This restores the behavior of SimpleHTTPServer, where a user could type "python -m SimpleHTTPServer" and get a simple server for sharing files. Now, you can do the same thing with "python3 -m http.server".
* Localize the function lookup in timeit.Raymond Hettinger2009-04-031-2/+2
|
* Have namedtuple's field renamer assign names thatRaymond Hettinger2009-04-022-7/+7
| | | | are consistent with the corresponding tuple index.
* In 3k this becomes an items() call.R. David Murray2009-04-022-1/+7
| | | | | | | | | | | | | Merged revisions 71046 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r71046 | r.david.murray | 2009-04-02 10:05:35 -0400 (Thu, 02 Apr 2009) | 4 lines Add missing iteritems() call to the for loop in mailbox.MH.get_message(). Fixes issue2625. ........
* importlib.test.source.test_abc_loader was making a bad assumption that all fileBrett Cannon2009-04-021-16/+21
| | | | | | paths used '/' as a path separator. Fixes issue #5646.
* Make a test in importlib have a more robust test value.Brett Cannon2009-04-021-1/+1
|
* Give a more informative message on an importlib test upon failure.Brett Cannon2009-04-021-1/+3
|
* Issue #5640: Fix _multibytecodec so that CJK codecs don't repeatHye-Shik Chang2009-04-021-0/+4
| | | | | error replacement returned by codec error callbacks twice in IncrementalEncoder and StreamWriter.
* Check that on a platform that is expected to have a case-insensitive filesystemBrett Cannon2009-04-021-1/+8
| | | | | | that is in fact the case. Closes issue #5442.
* Fixing the issue4860. Escaping the embedded '"' in the js_output method of ↵Senthil Kumaran2009-04-022-5/+5
| | | | Morsel class.
* add io and _pyio to test___all__Benjamin Peterson2009-04-021-0/+2
|
* Merged revisions 71014 via svnmerge fromBenjamin Peterson2009-04-021-4/+4
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r71014 | benjamin.peterson | 2009-04-01 20:03:17 -0500 (Wed, 01 Apr 2009) | 1 line handle SEEK_ constants in test_io ........
* add SEEK_ constants to _pyioBenjamin Peterson2009-04-021-0/+1
|
* make 'c' only accept bytes and 'C' only unicode #5499Benjamin Peterson2009-04-021-3/+3
|
* #5656: detect correct encoding of files when reporting coverage in trace.py, ↵Georg Brandl2009-04-012-11/+20
| | | | and ignore files in the temporary directory when reporting.
* Merged revisions 70997 via svnmerge fromR. David Murray2009-04-011-0/+13
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70997 | r.david.murray | 2009-04-01 17:26:18 -0400 (Wed, 01 Apr 2009) | 3 lines Add tests checking the CSV module's ability to handle embedded newlines in quoted field values. ........
* Merged revisions 70992,70995 via svnmerge fromBenjamin Peterson2009-04-011-1/+7
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70992 | georg.brandl | 2009-04-01 16:00:55 -0500 (Wed, 01 Apr 2009) | 1 line #4572: add SEEK_* values as constants in io.py. ........ r70995 | benjamin.peterson | 2009-04-01 16:12:54 -0500 (Wed, 01 Apr 2009) | 1 line add seek constants to __all__ ........
* barry has already been causing test breakageBenjamin Peterson2009-04-011-0/+1
|
* Merged revisions 70979 via svnmerge fromBrett Cannon2009-04-011-8/+8
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70979 | brett.cannon | 2009-04-01 13:25:48 -0700 (Wed, 01 Apr 2009) | 3 lines test_warnings ironically had a single test that was not protecting the warnings filter and was resetting it. ........
* Fix for issue5040. Adding support for unicode message passing and tests for ↵Senthil Kumaran2009-04-013-13/+44
| | | | unicode message and test for Content-Length.
* Merged revisions 70975 via svnmerge fromBrett Cannon2009-04-011-22/+24
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70975 | brett.cannon | 2009-04-01 12:57:10 -0700 (Wed, 01 Apr 2009) | 4 lines test_logging was blindly clearing the warnings filter. This caused PendingDeprecationWarnings to be spewed all over by unittest.failIf*(). Fix moves over to using warnings.catch_warning to protect the warnings filter. ........
* Issue #5647: MutableSet.__iand__() no longer mutates self during iteration.Raymond Hettinger2009-04-012-4/+28
|
* Merged revisions 70965 via svnmerge fromBrett Cannon2009-04-011-0/+35
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70965 | brett.cannon | 2009-04-01 11:03:59 -0700 (Wed, 01 Apr 2009) | 5 lines _warnings was importing itself to get an attribute. That's bad if warnings gets called in a thread that was spawned by an import itself. Last part to close #1665206. ........
* Remove redundant import of tkinter.R. David Murray2009-04-011-3/+0
|
* Merged revisions 70956 via svnmerge fromBrett Cannon2009-04-011-14/+11
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70956 | brett.cannon | 2009-04-01 09:00:34 -0700 (Wed, 01 Apr 2009) | 5 lines The cgitb module had imports in its functions. This can cause deadlock with the import lock if called from within a thread that was triggered by an import. Partially fixes issue #1665206. ........
* #5636: fix next -> __next__ in csv reader docs.Georg Brandl2009-04-012-2/+6
|
* Allow skipping of regression tests not supported on windows. This reduces ↵Kristján Valur Jónsson2009-04-017-9/+13
| | | | noise in the regression test suite for py3k on Windows.
* The BDFL has retired! Long live the FLUFL (Friendly Language Uncle For Life)!Brett Cannon2009-04-012-0/+32
|
* #5624: _winreg is winreg in Python 3.Georg Brandl2009-04-012-10/+10
|
* Merged revisions 70940 via svnmergeGeorg Brandl2009-04-011-1/+5
| | | | | | | | ........ r70940 | georg.brandl | 2009-03-31 23:21:14 -0500 (Di, 31 Mär 2009) | 2 lines The SimpleXMLRPCServer's CGI handler now runs like a pony. ........
* Merged revisions 70931 via svnmerge fromJack Diederich2009-04-011-1/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r70931 | jack.diederich | 2009-03-31 19:46:48 -0400 (Tue, 31 Mar 2009) | 1 line #5228: add pickle support to functools.partial ........