summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Adding test from issue6727 demonstrating that symlink import issue does not ↵Jason R. Coombs2012-06-171-0/+53
| | | | occur here in 3.3
* Improve an internal ipaddress test, add a comment explaining why treating ↵Nick Coghlan2012-06-171-6/+21
| | | | networks as containers of interfaces rather than addresses would prove confusing
* Issue #15054: Fix incorrect tokenization of 'b' string literals.Meador Inge2012-06-171-0/+76
| | | | Patch by Serhiy Storchaka.
* Make the test more resilient to test-run order (closes #15075)Eli Bendersky2012-06-161-8/+20
|
* Fix "%f" format of str%args if the result is not an ASCII or latin1 stringVictor Stinner2012-06-161-0/+2
|
* Issue #15006: Allow equality comparison between naive and aware timeAlexander Belopolsky2012-06-161-6/+6
| | | | or datetime objects.
* MergeBrett Cannon2012-06-158-170/+566
|\
| * Fix _TestListener.ALLOWED_TYPES and add sanity checkRichard Oudkerk2012-06-151-1/+3
| |
| * Increase timeout used when waiting for manager to shutdown cleanlyRichard Oudkerk2012-06-151-0/+5
| | | | | | | | before resorting to terminate()
| * Fix for 2d2f206d040e so that test_multiprocessing does not depend on ctypesRichard Oudkerk2012-06-151-5/+9
| |
| * #15036: Make a repeated changes and flushes work with single-file mailboxesPetri Lehtinen2012-06-151-0/+11
| |\
| | * #15036: Make a repeated changes and flushes work with single-file mailboxesPetri Lehtinen2012-06-151-0/+11
| | |
| * | Issue #14059: Implement multiprocessing.BarrierRichard Oudkerk2012-06-151-3/+334
| | |
| * | Issue #15061: Don't oversell the capabilities of the new non-shortcircuiting ↵Nick Coghlan2012-06-151-21/+23
| | | | | | | | | | | | comparison function in hmac
| * | Skip XincludeTest entirely instead of just ignoring failures, because it may ↵Eli Bendersky2012-06-151-1/+1
| | | | | | | | | | | | segfault, depending on the order of running tests
| * | Removed _SimpleElementPath and its flaky test. The test monkey-patches the ↵Eli Bendersky2012-06-151-23/+0
| | | | | | | | | | | | module, which causes other failures and fails itself depending on the order tests are run.
| * | mark problematic test as expected failure - investigatingEli Bendersky2012-06-151-2/+6
| | |
| * | Replace the iter/itertext methods of Element in _elementtree with true C ↵Eli Bendersky2012-06-152-134/+141
| | | | | | | | | | | | | | | | | | implementations, instead of the bootstrapped Python code. In addition to being cleaner (removing the last remains of the bootstrapping code in _elementtree), this gives a 10x performance boost for iter() on large documents. Also reorganized the tests a bit to be more robust.
| * | Issue #13841: Make child processes exit using sys.exit() on WindowsRichard Oudkerk2012-06-142-1/+6
| | |
| * | Issue #1667546: On platforms supporting tm_zone and tm_gmtoff fieldsAlexander Belopolsky2012-06-142-3/+55
| | | | | | | | | | | | | | | | | | in struct tm, time.struct_time objects returned by time.gmtime(), time.localtime() and time.strptime() functions now have tm_zone and tm_gmtoff attributes. Original patch by Paul Boddie.
| * | Fix test_time for adjusted/adjustable changesVictor Stinner2012-06-121-6/+2
| | |
| * | PEP 418: Rename adjusted attribute to adjustable in time.get_clock_info() resultVictor Stinner2012-06-121-6/+6
| | | | | | | | | | | | | | | | | | | | | | | | Fix also its value on Windows and Linux according to its documentation: "adjustable" indicates if the clock *can be* adjusted, not if it is or was adjusted. In most cases, it is not possible to indicate if a clock is or was adjusted.
* | | Make a test easier to read.Brett Cannon2012-06-111-4/+3
|/ /
* | Close #13857: Added textwrap.indent() function (initial patch by EzraNick Coghlan2012-06-111-2/+138
| | | | | | | | Berch)
* | Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-1/+1
| |
* | Relax datetime.timestamp() test around DST changeAlexander Belopolsky2012-06-081-3/+3
| |
* | Issue #2736: Added datetime.timestamp() method.Alexander Belopolsky2012-06-081-0/+36
| |
* | Merge fixes for #13854 and #12157.Richard Oudkerk2012-06-071-3/+45
|\ \ | |/
| * Issue #13854: Properly handle non-integer, non-string arg to SystemExitRichard Oudkerk2012-06-061-0/+30
| | | | | | | | | | Previously multiprocessing only expected int or str. It also wrongly used an exit code of 1 when the argument was a string instead of zero.
| * Issue #12157: pool.map() does not handle empty iterable correctlyRichard Oudkerk2012-06-061-3/+15
| | | | | | | | Initial patch by mouad
* | Issue #11823: disassembly now shows argument counts on calls with keyword argsAlexander Belopolsky2012-06-071-3/+3
| |
* | Add test for multiprocessing.Conditon.wait() and changset 3baeb5e13dd2Richard Oudkerk2012-06-051-0/+28
| |
* | Close #11022: TextIOWrapper doesn't call locale.setlocale() anymoreVictor Stinner2012-06-052-17/+58
| | | | | | | | | | | | | | | | | | | | open() and io.TextIOWrapper are now calling locale.getpreferredencoding(False) instead of locale.getpreferredencoding() in text mode if the encoding is not specified. Don't change temporary the locale encoding using locale.setlocale(), use the current locale encoding instead of the user preferred encoding. Explain also in open() documentation that locale.getpreferredencoding(False) is called if the encoding is not specified.
* | #14814: ipaddress: refactor dup code, minor janitoring, bump coverageHynek Schlawack2012-06-051-28/+148
| | | | | | | | | | | | | | | | - remove duplicate netmask/hostmask code - make two ifs more pythonic - remove packed property for networks - some minor pep8 stuff - Test coverage is now at 97%, the rest are mostly unreachable safeguards.
* | Issue #14711: os.stat_float_times() has been deprecated.Victor Stinner2012-06-041-2/+6
| |
* | Add a function lzma.open(), to match gzip.open() and bz2.open().Nadeem Vawda2012-06-041-0/+101
| |
* | Allow LZMAFile to accept modes with a "b" suffix.Nadeem Vawda2012-06-041-2/+17
| |
* | Simplify usage of LZMAFile's fileobj support, like with BZ2File.Nadeem Vawda2012-06-041-120/+110
| |
* | Add a function bz2.open(), to match gzip.open().Nadeem Vawda2012-06-041-11/+106
| |
* | Make BZ2File's fileobj support easier to use.Nadeem Vawda2012-06-041-13/+27
| | | | | | | | | | The fileobj argument was added during the 3.3 development cycle, so this change does not break backward compatibility with 3.2.
* | Add fileobj support to gzip.open().Nadeem Vawda2012-06-041-0/+13
| |
* | #8739: fix omission of DEBUGSTREAM reset in new test in test_smtpd.R David Murray2012-06-041-0/+2
| | | | | | | | | | This clears up an error in detected by refleak mode that showed up when test_smtplib was run after test_smtpd in the same refleak run.
* | #14814: Remove dead code from ipaddressHynek Schlawack2012-06-041-0/+16
| | | | | | | | | | _BaseNetwork contained (faulty) methods for creating string representations. I've fixed them and put them to use by eliminating identical overrides.
* | Whitespace normalizationBarry Warsaw2012-06-041-1/+1
| |
* | PEP 421 requires that .name be lower case.Barry Warsaw2012-06-041-0/+4
| |
* | Trunk merge.Barry Warsaw2012-06-042-0/+26
|\ \
| * | #14814: Use correct comparison for IP addressesHynek Schlawack2012-06-041-0/+1
| | | | | | | | | | | | | | | ipaddress._BaseV4.is_unspecified() compared IP addresses using "in" which fails.
| * | Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSErrorGregory P. Smith2012-06-031-0/+25
| |\ \ | | |/ | | | | | | | | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not.
| | * Fixes Issue #14992: os.makedirs(path, exist_ok=True) would raise an OSErrorGregory P. Smith2012-06-031-6/+34
| | | | | | | | | | | | | | | | | | when the path existed and had the S_ISGID mode bit set when it was not explicitly asked for. This is no longer an exception as mkdir cannot control if the OS sets that bit for it or not.
| | * Added test skip under Windows, as not applicable there.Vinay Sajip2012-05-311-0/+1
| | |