summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_array.py
Commit message (Collapse)AuthorAgeFilesLines
* Issue #14203: Remove obsolete support for view==NULL in bytesiobuf_getbuffer()Stefan Krah2015-02-031-0/+5
| | | | and array_buffer_getbuf().
* Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-10/+11
|\
| * Issue #22777: Test pickling with all protocols.Serhiy Storchaka2014-12-151-10/+11
| |
* | Issue #20152: Port the array module to Argument Clinic.Brett Cannon2014-10-101-1/+3
|/
* Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-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.
| * Issue #19936: Added executable bits or shebang lines to Python scripts whichSerhiy Storchaka2014-01-161-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.
* | Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-1/+1
|\ \ | |/
| * Issue 19572: More silently skipped tests explicitly skipped.Zachary Ware2013-12-081-1/+1
| |
* | Issue #3693: Fix array obscure error message when given a str.Alexandre Vassalotti2013-11-301-0/+12
| |
* | Issue #19604: Use specific asserts in array tests.Serhiy Storchaka2013-11-161-34/+34
|\ \ | |/
| * Issue #19604: Use specific asserts in array tests.Serhiy Storchaka2013-11-161-34/+34
| |
| * Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-8/+9
| |
* | Issue #18702: All skipped tests now reported as skipped.Serhiy Storchaka2013-11-031-8/+9
| |
* | (Merge 3.3) Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner2013-03-081-11/+3
|\ \ | |/ | | | | Skip the test on Windows.
| * Issue #17223: the test is specific to 32-bit wchar_t typeVictor Stinner2013-03-081-11/+3
| | | | | | | | Skip the test on Windows.
* | (Merge 3.3) Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)Victor Stinner2013-02-261-11/+18
|\ \ | |/
| * Issue #17223: Fix test_array on Windows (16-bit wchar_t/Py_UNICODE)Victor Stinner2013-02-261-11/+18
| |
* | (Merge 3.3) Issue #17223: array module: Fix a crasher when converting an arrayVictor Stinner2013-02-251-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.
| * Issue #17223: array module: Fix a crasher when converting an array containingVictor Stinner2013-02-251-0/+6
| | | | | | | | | | invalid characters (outside range [U+0000; U+10ffff]) to Unicode: repr(array), str(array) and array.tounicode(). Patch written by Manuel Jacob.
* | #16888: merge with 3.3.Ezio Melotti2013-01-101-49/+15
|\ \ | |/
| * #16888: test_array now works with unittest test discovery. Patch by Zachary ↵Ezio Melotti2013-01-101-49/+15
| | | | | | | | Ware.
* | Replace IOError with OSError (#16715)Andrew Svetlov2012-12-251-2/+2
|/
* Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-111-0/+13
|\ | | | | | | Patch by Ludwig Hähne.
| * Issue #15424: Add a __sizeof__ implementation for array objects.Meador Inge2012-08-111-0/+13
| | | | | | | | Patch by Ludwig Hähne.
* | Issue #13072: Fix test_array for installation without the ctypes moduleVictor Stinner2012-08-081-2/+11
| |
* | Issue #13072: Ooops, now fix test_array for Linux with 32-bit wchar_t...Victor Stinner2012-08-081-1/+2
| |
* | Issue #13072: Fix test_array for Windows with 16-bit wchar_tVictor Stinner2012-08-081-2/+2
| |
* | Issue #14288: Serialization support for builtin iterators.Kristján Valur Jónsson2012-04-031-0/+14
| |
* | Remove mention of narrow/wide builds and update array doc, add a test.Ezio Melotti2011-10-251-1/+2
| |
* | array module uses the new Unicode APIVictor Stinner2011-09-291-2/+6
| | | | | | | | | | * Use Py_UCS4* buffer instead of Py_UNICODE* * Use "I" or "L" format, instead of "u" format
* | Issue #1172711: Add 'long long' support to the array module.Meador Inge2011-09-211-0/+21
|/ | | | Initial patch by Oren Tirosh and Hirokazu Yamamoto.
* Issue #5109: array.array constructor will now use fast code whenAlexander Belopolsky2011-01-111-0/+10
| | | | initial data is provided in an array object with correct type.
* test_array: fix the DeprecationWarning('object.__init__() takes no parameters')Victor Stinner2011-01-041-1/+1
|
* #10668: fix wrong call of __init__.Georg Brandl2010-12-101-1/+1
|
* #1569291: speed up array.repeat() by making only O(log n) memcpy() calls; ↵Georg Brandl2010-12-041-0/+6
| | | | the code follows unicode_repeat.
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-4/+4
|
* Issue #8990: array.fromstring() and array.tostring() get renamed toAntoine Pitrou2010-09-011-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.
* Issue #5395: check that array.fromfile() re-raises an IOError instead of ↵Antoine Pitrou2010-07-211-0/+11
| | | | | | | replacing it with EOFError. (this is only an added test, but 2.x will get a fix too)
* convert shebang lines: python -> python3Benjamin Peterson2010-03-111-1/+1
|
* Merged revisions 77821 via svnmerge fromMark Dickinson2010-01-291-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. ........
* Merged revisions 77727 via svnmerge fromEzio Melotti2010-01-241-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 ........
* Merged revisions 74477 via svnmerge fromFrank Wierzbicki2009-08-161-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. ........
* Don't check 64-bit test cases on 32-bit machine.Alexandre Vassalotti2009-07-151-1/+15
|
* Issue #2389: Implement a portable mechanism for pickling array objects.Alexandre Vassalotti2009-07-151-10/+140
| | | | Reviewed by: Martin v. Löwis
* Add the fix for issue 4509 to the mapping methods.Alexandre Vassalotti2009-07-051-26/+21
|
* Fix array.extend and array.__iadd__ to handle the case where an arrayAlexandre Vassalotti2009-07-051-0/+13
| | | | | | is extended with itself. This bug is specific the py3k version of arraymodule.c
* Add more test cases to BaseTest.test_memoryview_no_resize.Alexandre Vassalotti2009-07-051-0/+6
|
* Issue 4509: Do not modify an array if we know the change would resultAlexandre Vassalotti2009-07-051-0/+16
| | | | in a failure due to exported buffers.
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-37/+37
|
* Issue #5334: array.fromfile() failed to insert values when EOFError was raised.Hirokazu Yamamoto2009-03-061-2/+1
| | | | Reviewed by Benjamin Peterson.