summaryrefslogtreecommitdiff
path: root/Lib/test/test_array.py
AgeCommit message (Collapse)AuthorLines
2017-08-17bpo-24700: Add a fast path for comparing array.array of equal type (#3009)Adrian Wielgosik-0/+10
2017-03-09bpo-28298: make array 'Q', 'L' and 'I' accept big intables as elements (#570)orenmn-15/+24
2016-09-07Issue #27570: Merge null pointer fixes from 3.5Martin Panter-2/+12
2016-09-07Issue #27570: Avoid zero-length memcpy() calls with null source pointersMartin Panter-2/+12
2016-04-24Issue #23277: Remove unused imports in tests.Serhiy Storchaka-2/+0
2016-03-30Issue #26492: Exhausted iterator of array.array now conforms with the behaviorSerhiy Storchaka-2/+19
of iterators of other mutable sequences: it lefts exhausted even if iterated array is extended.
2016-03-06Issue #26015: Added new tests for pickling iterators of mutable sequences.Serhiy Storchaka-11/+34
2015-02-03Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()Stefan Krah-0/+5
and array_buffer_getbuf().
2014-12-15Issue #22777: Test pickling with all protocols.Serhiy Storchaka-10/+11
2014-12-15Issue #22777: Test pickling with all protocols.Serhiy Storchaka-10/+11
2014-10-10Issue #20152: Port the array module to Argument Clinic.Brett Cannon-1/+3
2014-01-16Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka-1/+0
requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang lines in the unittestgui and checkpip scripts.
2014-01-16Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka-1/+0
requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
2013-12-08Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware-1/+1
2013-12-08Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware-1/+1
2013-11-29Issue #3693: Fix array obscure error message when given a str.Alexandre Vassalotti-0/+12
2013-11-17Issue #19604: Use specific asserts in array tests.Serhiy Storchaka-32/+32
2013-11-17Issue #19604: Use specific asserts in array tests.Serhiy Storchaka-32/+32
2013-11-03Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka-8/+9
2013-11-03Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka-8/+9
2013-03-08(Merge 3.3) Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner-11/+3
Skip the test on Windows.
2013-03-08Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner-11/+3
Skip the test on Windows.
2013-02-26(Merge 3.3) Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)Victor Stinner-11/+18
2013-02-26Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)Victor Stinner-11/+18
2013-02-26(Merge 3.3) Issue #17223: array module: Fix a crasher when converting an arrayVictor Stinner-0/+6
containing invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-02-26Issue #17223: array module: Fix a crasher when converting an array containingVictor Stinner-0/+6
invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
2013-01-10#16888: merge with 3.3.Ezio Melotti-49/+15
2013-01-10#16888: test_array now works with unittest test discovery. Patch by Zachary ↵Ezio Melotti-49/+15
Ware.
2012-12-25Replace IOError with OSError (#16715)Andrew Svetlov-2/+2
2012-08-10Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge-0/+13
Patch by Ludwig Hähne.
2012-08-10Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge-0/+13
Patch by Ludwig Hähne.
2012-08-09Issue #13072: Fix test_array for installation without the ctypes moduleVictor Stinner-2/+11
2012-08-08Issue #13072: Ooops, now fix test_array for Linux with 32-bit wchar_t...Victor Stinner-1/+2
2012-08-08Issue #13072: Fix test_array for Windows with 16-bit wchar_tVictor Stinner-2/+2
2012-04-03Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson-0/+14
2011-10-25Remove mention of narrow/wide builds and update array doc, add a test.Ezio Melotti-1/+2
2011-09-30array module uses the new Unicode APIVictor Stinner-2/+6
* Use Py_UCS4* buffer instead of Py_UNICODE* * Use "I" or "L" format, instead of "u" format
2011-09-20Issue #1172711: Add 'long long' support to the array module.Meador Inge-0/+21
Initial patch by Oren Tirosh and Hirokazu Yamamoto.
2011-01-11Issue #5109: array.array constructor will now use fast code whenAlexander Belopolsky-0/+10
initial data is provided in an array object with correct type.
2011-01-04test_array: fix the DeprecationWarning('object.__init__() takes no parameters')Victor Stinner-1/+1
2010-12-10#10668: fix wrong call of __init__.Georg Brandl-1/+1
2010-12-04#1569291: speed up array.repeat() by making only O(log n) memcpy() calls; ↵Georg Brandl-0/+6
the code follows unicode_repeat.
2010-11-20#9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti-4/+4
2010-09-01Issue #8990: array.fromstring() and array.tostring() get renamed toAntoine Pitrou-10/+48
frombytes() and tobytes(), respectively, to avoid confusion. Furthermore, array.frombytes(), array.extend() as well as the array.array() constructor now accept bytearray objects. Patch by Thomas Jollans.
2010-07-21Issue #5395: check that array.fromfile() re-raises an IOError instead of ↵Antoine Pitrou-0/+11
replacing it with EOFError. (this is only an added test, but 2.x will get a fix too)
2010-03-11convert shebang lines: python -> python3Benjamin Peterson-1/+1
2010-01-29Merged revisions 77821 via svnmerge fromMark Dickinson-0/+3
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77821 | mark.dickinson | 2010-01-29 17:11:39 +0000 (Fri, 29 Jan 2010) | 3 lines Issue #7788: Fix a crash produced by deleting a list slice with huge step value. Patch by Marcin Bachry. ........
2010-01-24Merged revisions 77727 via svnmerge fromEzio Melotti-3/+3
svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........
2009-08-16Merged revisions 74477 via svnmerge fromFrank Wierzbicki-0/+19
svn+ssh://pythondev@svn.python.org/python/trunk ........ r74477 | frank.wierzbicki | 2009-08-16 16:22:51 -0400 (Sun, 16 Aug 2009) | 2 lines Add test of file.write(array) extracted from Jython. ........
2009-07-15Don't check 64-bit test cases on 32-bit machine.Alexandre Vassalotti-1/+15