summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #16761: Raise TypeError when int() called with base argument only.Serhiy Storchaka2012-12-281-0/+8
|
* Issue #15324: Fix regrtest parsing of --fromfile, --match, and --randomize.Chris Jerdonek2012-12-281-3/+3
|
* Issue #16792: Mark small ints test as CPython-only.Serhiy Storchaka2012-12-271-4/+9
|
* Fix #16759. Convert DWORD registry values using PyLong_FromUnsignedLong.Brian Curtin2012-12-271-0/+17
| | | | | When converting REG_DWORD registry values into Python ints, the conversion needs to be made from an *unsigned* long to match the DWORD type.
* Fix #14420. Use PyLong_AsUnsignedLong to support the full range of DWORD.Brian Curtin2012-12-271-0/+12
| | | | | This fixes an OverflowError seen in winreg.SetValueEx when passed winreg.REG_DWORD values that should be supported by the underlying API.
* #16618: Make glob.glob match consistently across strings and bytesHynek Schlawack2012-12-271-27/+50
| | | | | | Fixes handling of leading dots. Patch by Serhiy Storchaka.
* fix test for subprocess (#16644)Andrew Svetlov2012-12-261-2/+1
|
* Issue #16702: Skip proxies for localhost in urllib2_localnet testsSenthil Kumaran2012-12-261-0/+2
|
* Add test coverage for os.removedirs (#16775)Andrew Svetlov2012-12-251-0/+46
|
* Fix issue16713 - tel url parsing with paramsSenthil Kumaran2012-12-241-0/+29
|
* Fix Issue15701 - HTTPError info method call raises AttributeError. Fix that ↵Senthil Kumaran2012-12-231-10/+26
| | | | to return headers correctly
* replace threw with raised (#16714)Andrew Svetlov2012-12-192-2/+2
|
* Issue #16714: use 'raise' exceptions, don't 'throw'.Andrew Svetlov2012-12-1814-25/+25
| | | | Patch by Serhiy Storchaka.
* Fix ResourceWarnings in test_ptyAntoine Pitrou2012-12-161-3/+5
|
* Issue #16696: fix comparison between bytes and string. Also, improve glob tests.Antoine Pitrou2012-12-161-5/+28
|
* Issue #16626: Fix infinite recursion in glob.glob() on Windows when the ↵Antoine Pitrou2012-12-161-0/+13
| | | | | | pattern contains a wildcard in the drive or UNC path. Patch by Serhiy Storchaka.
* #16664: Add regression tests for glob's behaviour concerning "."-entriesHynek Schlawack2012-12-161-1/+6
| | | | Patch by Sebastian Kreft.
* Issue #16298: In HTTPResponse.read(), close the socket when there is no ↵Antoine Pitrou2012-12-151-1/+14
| | | | | | Content-Length and the incoming stream is finished. Patch by Eran Rundstein.
* #15872: Some more Windows related tuning to shutil.rmtree testsHynek Schlawack2012-12-101-8/+7
| | | | | | Turns out, the snakebite bots behave also their peculiarities. I'm really not proud of this stream of commits. :(
* #15872: Be flexible with appending *.* in shutil.rmtree test caseHynek Schlawack2012-12-101-1/+1
| | | | The Windows buildbots seem to be unable to agree whether they need them or not.
* #15872: More shutil test fixes for WindowsHynek Schlawack2012-12-101-2/+2
|
* #15872: Fix shutil.rmtree error tests for WindowsHynek Schlawack2012-12-101-1/+5
|
* #15872: Add tests for a 3.3 regression in the new fd-based shutil.rmtreeHynek Schlawack2012-12-101-0/+46
| | | | | It cause shutil.rmtree not ignore all errors. Also add a test ensuring that rmtree fails when being called on a symlink. Patch by Serhiy Storchaka.
* Issue #16602: When a weakref's target was part of a long deallocation chain, ↵Antoine Pitrou2012-12-081-0/+21
| | | | | | the object could remain reachable through its weakref even though its refcount had dropped to zero. Thanks to Eugene Toder for diagnosing and reporting the issue.
* Skip pdb test for #13120 if threading is not available.Andrew Svetlov2012-12-051-0/+3
|
* Issue #13120: Allow to call pdb.set_trace() from thread.Andrew Svetlov2012-12-041-0/+27
| | | | Patch by Ilya Sandler.
* Fix test splitting in previous commit.Antoine Pitrou2012-12-031-4/+2
|
* Split the bigmem re test in two separate tests with different memory ↵Antoine Pitrou2012-12-031-2/+12
| | | | requirements.
* Issue #10182: The re module doesn't truncate indices to 32 bits anymore.Antoine Pitrou2012-12-021-1/+16
| | | | Patch by Serhiy Storchaka.
* #16549: fix test failures on Windows.Ezio Melotti2012-11-291-2/+2
|
* #16476: Fix json.tool to avoid including trailing whitespace.Ezio Melotti2012-11-291-8/+8
|
* #16549: Make json.tool work again on Python 3 and add tests. Initial patch ↵Ezio Melotti2012-11-291-0/+69
| | | | by Berker Peksag and Serhiy Storchaka.
* #16559: Add more tests for the json module. Patch by Serhiy Storchaka.Ezio Melotti2012-11-263-15/+44
|
* Closes #16521: Improved error handling for basicConfig(), added tests for same.Vinay Sajip2012-11-251-2/+158
|
* Remove debug print.Ezio Melotti2012-11-231-4/+0
|
* #16306: report only the first unknown option and add more tests. Patch by ↵Ezio Melotti2012-11-231-3/+15
| | | | Serhiy Storchaka.
* Improve str() and object.__str__() documentation (issue #13538).Chris Jerdonek2012-11-212-0/+21
|
* Issue #1160: Fix compiling large regular expressions on UCS2 builds.Antoine Pitrou2012-11-201-0/+6
| | | | Patch by Serhiy Storchaka.
* #7782: add a test for test_iter.Ezio Melotti2012-11-181-0/+15
|
* #16306: Fix multiple error messages when unknown command line parameters ↵Ezio Melotti2012-11-181-1/+8
| | | | where passed to the interpreter. Patch by Hieu Nguyen.
* #14313: zipfile now raises NotImplementedError when the compression type is ↵Ezio Melotti2012-11-181-0/+11
| | | | unknown.
* don't gc_collect on CPython to guarantee a lack of ref cycles (thanks Antoine)Philip Jenvey2012-11-141-5/+9
|
* add gc_collects to weakref testsPhilip Jenvey2012-11-131-0/+3
|
* Merge headsAntoine Pitrou2012-11-111-19/+18
|\
| * Refactor test_preexec_errpipe to not create an uncollectable reference cycle.Gregory P. Smith2012-11-111-19/+18
| |
* | Issue #16453: Fix equality testing of dead weakref objects.Antoine Pitrou2012-11-111-21/+84
|/ | | | Also add tests for ordering and hashing.
* Fixes issue #16140: The subprocess module no longer double closes itsGregory P. Smith2012-11-111-0/+38
| | | | | | | | | child subprocess.PIPE parent file descriptors on child error prior to exec(). This would lead to race conditions in multithreaded programs where another thread opened a file reusing the fd which was then closed out from beneath it by the errant second close.
* Fixes issue #16327: The subprocess module no longer leaks file descriptorsGregory P. Smith2012-11-111-0/+33
| | | | used for stdin/stdout/stderr pipes to the child when fork() fails.
* Issue #16411: Fix a bug where zlib.decompressobj().flush() might try to ↵Nadeem Vawda2012-11-111-0/+12
| | | | | | access previously-freed memory. Patch by Serhiy Storchaka.
* Issue #16350, part 2: Set unused_data (and unconsumed_tail) correctly in ↵Nadeem Vawda2012-11-111-9/+21
| | | | | | | | | | decompressobj().flush(). Additionally, fix a bug where a MemoryError in allocating a bytes object could leave the decompressor object in an invalid state (with its unconsumed_tail member being NULL). Patch by Serhiy Storchaka.