summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_array.py
Commit message (Collapse)AuthorAgeFilesLines
* Fix forMichael W. Hudson2002-07-291-0/+3
| | | | | | [ 587875 ] crash on deleting extended slice The array code got simpler, always a good thing!
* Get rid of relative imports in all unittests. Now anything thatBarry Warsaw2002-07-231-1/+1
| | | | | | | | | | | imports e.g. test_support must do so using an absolute package name such as "import test.test_support" or "from test import test_support". This also updates the README in Lib/test, and gets rid of the duplicate data dirctory in Lib/test/data (replaced by Lib/email/test/data). Now Tim and Jack can have at it. :)
* Fix the bug described inMichael W. Hudson2002-06-191-1/+42
| | | | | | | | | http://mail.python.org/pipermail/python-dev/2002-June/025461.html with test cases. Also includes extended slice support for arrays, which I thought I'd already checked in but obviously not.
* This is patchMichael W. Hudson2002-05-151-28/+30
| | | | | | | [ 555382 ] test_array v.s. --disable-unicode + MvL's suggestions. Just the 32 failing tests in --disable-unicode builds now...
* Patch 520694: arraymodule.c improvements:Martin v. Löwis2002-03-011-4/+141
| | | | | | - make array.array a type - add Py_UNICODE arrays - support +=, *=
* a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh2001-01-171-1/+1
| | | | 'verify' iff it's used by a test module...
* This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg2001-01-171-1/+1
| | | | | | | and replaces them with a new API verify(). As a result the regression suite will also perform its tests in optimization mode. Written by Marc-Andre Lemburg. Copyright assigned to Guido van Rossum.
* Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).Tim Peters2000-11-141-0/+5
|
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-161/+160
|
* arraymodule: Fix SF bug 113960.Tim Peters2000-09-161-2/+12
| | | | | | | | | | | | | | reverse() didn't work at all due to bad arg check. Fixed that. Added Brad Chapman to ACKS file, as the proud new owner of two implicitly copyrighted lines of Python source code <wink>. Repaired buffer_info's total lack of arg-checking. Replaced memmove by memcpy in reverse() guts, as memmove is often slower and the memory areas are guaranteed disjoint. Replaced poke-and-hope unchecked decl of tmp buffer size by assert-checked larger tmp buffer. Got rid of inconsistent spaces before open paren in docstrings. Added reverse() sanity tests to test_array.py.
* added count, extend, index, pop and remove to arraymodulePeter Schneider-Kamp2000-07-311-0/+40
|
* Trent Mick <trentm@activestate.com>:Fred Drake2000-06-281-2/+54
| | | | | | | | Testing: test_array.py was also extended to check that one can set the full range of values for each of the integral signed and unsigned array types. This closes SourceForge patch #100506.
* Add tests for array self-assigns. (This one has no relevance to JPython.)Guido van Rossum1998-07-161-1/+28
|
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-38/+38
|
* Use `...` around binary strings.Guido van Rossum1997-10-071-1/+1
|
* Use TESTFN instead of /etc/passwd and /dev/null as test files.Guido van Rossum1997-04-091-5/+12
|
* Many scripts, but small changes. Update the way the scripts obtain theRoger E. Masse1996-12-201-13/+25
| | | | | | | | | | | | | | | | 'verbose' flag ala GvR updated test harness architecture. Old way: verbose = 0 if __name__ == '__main__': verbose = 1 New way: from test_support import verbose Some other small readablility and functionality updates.
* module to test the arraymodule created and added to testall.pyRoger E. Masse1996-12-091-0/+40