summaryrefslogtreecommitdiff
path: root/Lib/test/test_array.py
AgeCommit message (Collapse)AuthorLines
2001-01-17a bold attempt to fix things broken by MAL's verify patch: importFredrik Lundh-1/+1
'verify' iff it's used by a test module...
2001-01-17This patch removes all uses of "assert" in the regression test suiteMarc-André Lemburg-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.
2000-11-14Verify that str(a) and repr(a) don't blow up (part of SF patch 102068).Tim Peters-0/+5
2000-10-23Make reindent.py happy (convert everything to 4-space indents!).Fred Drake-158/+157
2000-09-16arraymodule: Fix SF bug 113960.Tim Peters-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.
2000-07-31added count, extend, index, pop and remove to arraymodulePeter Schneider-Kamp-0/+40
2000-06-28Trent Mick <trentm@activestate.com>:Fred Drake-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.
1998-07-16Add tests for array self-assigns. (This one has no relevance to JPython.)Guido van Rossum-1/+28
1998-03-26Mass check-in after untabifying all files that need it.Guido van Rossum-36/+36
1997-10-07Use `...` around binary strings.Guido van Rossum-1/+1
1997-04-09Use TESTFN instead of /etc/passwd and /dev/null as test files.Guido van Rossum-5/+12
1996-12-20Many scripts, but small changes. Update the way the scripts obtain theRoger E. Masse-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.
1996-12-09module to test the arraymodule created and added to testall.pyRoger E. Masse-0/+40