summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Updated tokenize to support the inverse byte literals new in 3.3Armin Ronacher2012-03-041-0/+12
|
* fix trailing whitespaceEli Bendersky2012-03-041-1/+0
|
* Issue #14128: Exposing Element as an actual type from _elementtree, rather ↵Eli Bendersky2012-03-042-8/+53
| | | | | | | | than a factory function. This makes the C implementation more aligned with the Python implementation. Also added some tests to ensure that Element is now a type and that it can be subclassed.
* Fixed problem with diagnostic output.Vinay Sajip2012-03-031-1/+2
|
* - Issue #14177: marshal.loads() now raises TypeError when given an unicodeAntoine Pitrou2012-03-032-2/+7
|\ | | | | | | string. Patch by Guilherme Gonçalves.
| * Issue #14177: marshal.loads() now raises TypeError when given an unicode string.Antoine Pitrou2012-03-032-2/+7
| | | | | | | | Patch by Guilherme Gonçalves.
* | Issue #13964: signal.sigtimedwait() timeout is now a float instead of a tupleVictor Stinner2012-03-022-7/+24
| | | | | | | | Add a private API to convert an int or float to a C timespec structure.
* | Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-0/+23
|\ \ | |/ | | | | (other than a bytes object).
| * Issue #14172: Fix reference leak when marshalling a buffer-like object ↵Antoine Pitrou2012-03-021-0/+23
| | | | | | | | (other than a bytes object).
* | Closes #14158: merged test file resilience fix from 3.2.Vinay Sajip2012-03-023-10/+30
|\ \ | |/
| * Closes #14158: improved resilience to test files left behind.Vinay Sajip2012-03-023-11/+33
| |
* | Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-012-0/+107
|\ \ | |/ | | | | | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
| * Issue #14159: Fix the len() of weak containers (WeakSet, WeakKeyDictionary, ↵Antoine Pitrou2012-03-012-0/+107
| | | | | | | | | | | | | | WeakValueDictionary) to return a better approximation when some objects are dead or dying. Moreover, the implementation is now O(1) rather than O(n). Thanks to Yury Selivanov for reporting.
* | update skip reasonPhilip Jenvey2012-03-011-1/+1
| |
* | also skip test_device_encoding when stdin isn't a ttyPhilip Jenvey2012-03-011-2/+2
| |
* | Issue #14153 Create _Py_device_encoding() to prevent _io from having to importBrett Cannon2012-02-291-0/+19
| | | | | | | | the os module.
* | #14089: merge with 3.2.Ezio Melotti2012-02-291-0/+22
|\ \ | |/
| * #14089: increase coverage of the fractions module. Patch by Oleg Plakhotnyuk.Ezio Melotti2012-02-291-0/+22
| |
* | #10713: merge with 3.2.Ezio Melotti2012-02-291-0/+26
|\ \ | |/
| * #10713: Improve documentation for \b and \B and add a few tests. Initial ↵Ezio Melotti2012-02-291-0/+26
| | | | | | | | patch and tests by Martin Pool.
* | Merge: Give better failure messages in test_strptime (cf. issue #14113).Nadeem Vawda2012-02-281-8/+8
|\ \ | |/
| * Give better failure messages in test_strptime (cf. issue #14113).Nadeem Vawda2012-02-281-17/+14
| |
| * MergeAntoine Pitrou2012-02-271-18/+5
| |\
| | * Issue #13873: Fix crash in test_zlib when running on a small (<4GB) tmpfs.Nadeem Vawda2012-02-261-18/+5
| | |
* | | Added additional diagnostics to help with #12151.Vinay Sajip2012-02-281-0/+4
| | |
* | | More debug outputAntoine Pitrou2012-02-271-2/+2
| | |
* | | Improve debugging output for test failureAntoine Pitrou2012-02-271-1/+1
| | |
* | | Issue #14113: Fix a test_strptime failure caused by changes to LC_ALL.Stefan Krah2012-02-271-1/+2
| | |
* | | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵Antoine Pitrou2012-02-261-0/+20
|\ \ \ | |/ / | | | | | | | | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński.
| * | Issue #13521: dict.setdefault() now does only one lookup for the given key, ↵Antoine Pitrou2012-02-261-0/+20
| |/ | | | | | | | | | | making it "atomic" for many purposes. Patch by Filip Gruszczyński.
* | Issue #14080: fix sporadic test_imp failure. Patch by Stefan Krah.Antoine Pitrou2012-02-261-0/+1
| |
* | Issue #14107: test: Fix a deadlock involving the memory watchdog thread.Charles-François Natali2012-02-261-0/+10
| |
* | Close issue #6210: Implement PEP 409Nick Coghlan2012-02-263-7/+119
| |
* | #14081: The sep and maxsplit parameter to str.split, bytes.split, and ↵Ezio Melotti2012-02-262-1/+39
| | | | | | | | bytearray.split may now be passed as keyword arguments.
* | Merge from 3.2Éric Araujo2012-02-251-0/+39
|\ \ | |/
| * Add test file for scripts in Tools (#13447).Éric Araujo2012-02-251-0/+39
| | | | | | | | | | | | | | | | When people find bugs in scripts such as reindent.py, msgfmt.py or pygettext.py, we have to try to reproduce the bug manually, apply a fix and test manually again. The alternative is to only read the code and trust that it works. This test file is a way to stop that unsatisfactory state of things and write proper unit tests instead.
| * Fix (presumably) test_hash under big-endian systems (PPC).Antoine Pitrou2012-02-221-2/+8
| |
* | Use assertEqual in test_strptime for better failure messages (cf. issue #14113).Nadeem Vawda2012-02-251-9/+6
| |
* | - Issue #10181: New memoryview implementation fixes multiple ownershipStefan Krah2012-02-253-14/+3477
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | and lifetime issues of dynamically allocated Py_buffer members (#9990) as well as crashes (#8305, #7433). Many new features have been added (See whatsnew/3.3), and the documentation has been updated extensively. The ndarray test object from _testbuffer.c implements all aspects of PEP-3118, so further development towards the complete implementation of the PEP can proceed in a test-driven manner. Thanks to Nick Coghlan, Antoine Pitrou and Pauli Virtanen for review and many ideas. - Issue #12834: Fix incorrect results of memoryview.tobytes() for non-contiguous arrays. - Issue #5231: Introduce memoryview.cast() method that allows changing format and shape without making a copy of the underlying memory.
* | Close #14095: type.__new__() doesn't remove __qualname__ key from the classVictor Stinner2012-02-251-3/+13
| | | | | | | | | | dict anymore if the key is present. Reject also non-string qualified names. And fix reference leaks in type.__new__().
* | Issue #14107: fix bigmem tests on str.capitalize(), str.swapcase() andVictor Stinner2012-02-241-6/+39
| | | | | | | | | | str.title(). Compute correctly how much memory is required for the test (memuse).
* | Issue #13706: Fix format(float, "n") for locale with non-ASCII decimal point ↵Victor Stinner2012-02-241-1/+9
| | | | | | | | (e.g. ps_aF)
* | Issue #13706: Fix format(int, "n") for locale with non-ASCII thousands separatorVictor Stinner2012-02-231-0/+15
| | | | | | | | | | | | | | | | | | | | | | * Decode thousands separator and decimal point using PyUnicode_DecodeLocale() (from the locale encoding), instead of decoding them implicitly from latin1 * Remove _PyUnicode_InsertThousandsGroupingLocale(), it was not used * Change _PyUnicode_InsertThousandsGrouping() API to return the maximum character if unicode is NULL * Replace MIN/MAX macros by Py_MIN/Py_MAX * stringlib/undef.h undefines STRINGLIB_IS_UNICODE * stringlib/localeutil.h only supports Unicode
* | Simplify zlib bigmem tests.Nadeem Vawda2012-02-231-6/+2
| |
* | Fix previous fix (for test_zlib) to work on 32-bit systems.Nadeem Vawda2012-02-231-2/+2
| |
* | Issue #13873: Fix crash in test_zlib on bigmem buildbot.Nadeem Vawda2012-02-231-23/+5
| |
* | Fix sporadic test_subprocess regression introduced by 834650d63130.Ross Lagerwall2012-02-221-2/+2
| |
* | Fix (presumably) test_hash under big-endian systems (PPC).Antoine Pitrou2012-02-221-2/+8
| |
* | Additional debug info in case of failureAntoine Pitrou2012-02-221-2/+1
| |
* | unload() should be sufficientAntoine Pitrou2012-02-221-2/+2
| |