summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Issue #985064: Make plistlib more resilient to faulty input plists.Ned Deily2011-05-281-0/+26
| | | | Patch by Mher Movsisyan.
* Issue #9670: Increase the default stack size for secondary threads onNed Deily2011-05-281-0/+31
| | | | | | Mac OS X and FreeBSD to reduce the chances of a crash instead of a "maximum recursion depth" RuntimeError exception. (patch by Ronald Oussoren)
* Issue #12175: RawIOBase.readall() now returns None if read() returns None.Victor Stinner2011-05-251-2/+5
|
* Issue #12175: FileIO.readall() now raises a ValueError instead of an IOError ifVictor Stinner2011-05-251-0/+2
| | | | the file is closed.
* Issue #12057: Add tests for the HZ encodingVictor Stinner2011-05-243-0/+33
|
* Issue #12100: Don't reset incremental encoders of CJK codecs at each call toVictor Stinner2011-05-241-0/+30
| | | | | their encode() method anymore, but continue to call the reset() method if the final argument is True.
* correctly lookup __dir__Benjamin Peterson2011-05-231-0/+1
|
* test_codecs now removes the temporay file (created by the test)Victor Stinner2011-05-231-7/+6
|
* Issue #10801: Remove a debug print() from test_zipfileVictor Stinner2011-05-221-1/+0
|
* Issue #12124: zipimport doesn't keep a reference to zlib.decompress() anymoreVictor Stinner2011-05-191-17/+0
| | | | to be able to unload the module.
* Ooops, add the missing file of the backport of commit 33543b4e0e5d from PythonVictor Stinner2011-05-181-0/+0
| | | | | 3.2 (#10801: In zipfile, support different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.)
* Backport commit 33543b4e0e5d from Python 3.2: #10801: In zipfile, supportVictor Stinner2011-05-181-3/+26
| | | | | different encodings for the header and the filenames. Patch by MvL, test by Eli Bendersky.
* Issue #11614: Fix test_linecache, cjkencodings_test.py doesn't exist anymoreVictor Stinner2011-05-161-1/+1
|
* Issue #12057: Convert CJK encoding testcase BLOB into multiple text filesVictor Stinner2011-05-1626-1024/+214
|
* Issue #11614: import __hello__ prints "Hello World!". Patch written by AndreasVictor Stinner2011-05-161-23/+29
| | | | Stührk.
* Issue #10756: atexit normalizes the exception before displaying it. Patch byVictor Stinner2011-05-151-0/+8
| | | | | | Andreas Stührk. Backport a fix already applied to Python 3.2+ (4a82be47a948 + 5060a92a8597).
* Fix copy-paste mistake in new zlib test.Nadeem Vawda2011-05-141-2/+4
|
* Issue #8650: Make zlib.[de]compressobj().[de]compress() 64-bit clean.Nadeem Vawda2011-05-141-0/+11
| | | | | Raise an OverflowError if the input data is too large, instead of silently truncating the input and returning an incorrect result.
* Issue #8650: Backport 64-bit safety fixes for compress() and decompress().Nadeem Vawda2011-05-141-0/+11
|
* Issue #12050: zlib.decompressobj().decompress() now clears the unconsumed_tailNadeem Vawda2011-05-141-0/+9
| | | | attribute when called without a max_length argument.
* #7960: fix docstrings for captured_output and captured_stdout.Ezio Melotti2011-05-141-8/+8
|
* #5723: Improve json tests to be executed with and without accelerations.Ezio Melotti2011-05-141-2/+2
|
* Change import_fresh_module to work with packages.Ezio Melotti2011-05-141-10/+6
|
* Issue #12062: Fix a flushing bug when doing a certain type of I/O sequenceAntoine Pitrou2011-05-121-0/+26
| | | | | | on a file opened in read+write mode (namely: reading, seeking a bit forward, writing, then seeking before the previous write but still within buffered data, and writing again).
* Issue #12012: ssl.PROTOCOL_SSLv2 becomes optionalVictor Stinner2011-05-091-11/+15
| | | | | | | OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2 protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid. Optimize also ssl.get_protocol_name(): speed does matter!
* Some more tests were incorrectly marked as C specific.Ezio Melotti2011-05-091-12/+10
|
* Stop trying to use _xmlplus in the xml module. Closes #11164.Martin v. Löwis2011-05-092-65/+0
| | | | Patch by Arfrever Frehtes Taifersar Arahesis.
* #11910: Fix test_heapq to skip the C tests when _heapq is missing.Ezio Melotti2011-05-091-20/+27
|
* #11910: change import_fresh_module to return None when one of the "fresh" ↵Ezio Melotti2011-05-091-4/+8
| | | | modules can not be imported.
* put import_fresh_module in __all__Benjamin Peterson2011-05-081-0/+1
|
* MergeAntoine Pitrou2011-05-071-0/+8
|\
| * mergeGiampaolo Rodola'2011-05-071-0/+8
| |\
| | * #12002 - ftplib's abort() method raises TypeErrorGiampaolo Rodola'2011-05-071-0/+8
| | |
* | | Issue #11927: SMTP_SSL now uses port 465 by default as documented. Patch by ↵Antoine Pitrou2011-05-071-0/+7
|/ / | | | | | | Kasun Herath.
* | #5421: add tests.Ezio Melotti2011-05-071-0/+30
| |
* | Fix potential resource leak in test_mmap.Nadeem Vawda2011-05-071-0/+1
| |
* | Issue #11277: Fix tests - crash will not trigger if the file is closed and ↵Nadeem Vawda2011-05-071-14/+12
| | | | | | | | reopened.
* | Issue #11277: Add tests for mmap crash when using large sparse files on OS X.Nadeem Vawda2011-05-071-26/+34
| | | | | | | | | | | | Also, reduce code duplication in LargeMmapTests. Original patch by Steffen Daode Nurpmeso.
* | #11999: sync based on comparing mtimes, not mtime to system clockR David Murray2011-05-071-13/+10
| |
* | Fix for issue 10684: Folders get deleted when trying to change case with ↵Ronald Oussoren2011-05-061-0/+18
| | | | | | | | shutil.move (case insensitive file systems only)
* | Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around aVictor Stinner2011-05-011-1/+1
| | | | | | | | mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
* | Issue #9756: When calling a method descriptor or a slot wrapper descriptor, theVictor Stinner2011-05-011-0/+16
| | | | | | | | | | | | check of the object type doesn't read the __class__ attribute anymore. Fix a crash if a class override its __class__ attribute (e.g. a proxy of the str type).
* | Wrap the testskip decorator for the proper test to resolve bb failure.Senthil Kumaran2011-04-291-1/+1
| |
* | skip the extractall test on platforms where os.symlink is not available.Senthil Kumaran2011-04-281-0/+1
| |
* | Add tests for tarfile extractall feature when with symlinksSenthil Kumaran2011-04-281-0/+27
| |
* | #11926: add missing keywords to help("keywords").Ezio Melotti2011-04-281-1/+7
| |
* | Branch mergeÉric Araujo2011-04-271-5/+0
|\ \
| * | Remove obsolete/duplicate docstringÉric Araujo2011-04-241-5/+0
| | |
* | | #11763: don't use difflib in TestCase.assertMultiLineEqual if the strings ↵Ezio Melotti2011-04-271-0/+35
| | | | | | | | | | | | are too long.
* | | #6780: fix starts/endswith error message to mention that tuples are accepted ↵Ezio Melotti2011-04-262-0/+27
|/ / | | | | | | too.