summaryrefslogtreecommitdiffstats
path: root/Lib/test
Commit message (Collapse)AuthorAgeFilesLines
* Use uuencoded test images.Guido van Rossum1997-04-097-166/+3333
|
* Don't just die when an error is not defined; print a warning instead.Guido van Rossum1997-04-091-4/+9
| | | | This for errno-challenged platforms like Windows.
* Try calling getpid() from /usr/lib/libc.so instead of some otherGuido van Rossum1997-04-091-4/+1
| | | | random things.
* Use TESTFN instead of /etc/passwd and /dev/null as test files.Guido van Rossum1997-04-091-5/+12
|
* New test output for test_builtinGuido van Rossum1997-04-021-0/+1
|
* Added test of complex() (that catches a bug in 1.4!).Guido van Rossum1997-03-311-0/+39
| | | | | Added test that ensures that int() and long() truncate float numbers towards zero.
* Restore old behavior of autotest and testall, using regrtest.Guido van Rossum1997-03-072-217/+7
| | | | This is done for backward compatibility with Python 1.4.
* Add "extra-verbose" mode, triggered by specifying two -v flags. InGuido van Rossum1997-03-071-4/+12
| | | | | this mode, all tests are run in verbose mode with their output to stdout. No comparing of output is done.
* Much more rigorous testing -- we now try many times, varying in timeGuido van Rossum1997-03-071-86/+97
| | | | | | | | | | | | | of day, day of week, and season. Fix the weekday predictions -- these seemed to be all bogus. The new predictions seem to correspond with strftime() on Solaris and IRIX, so I believe they are correct. Get rid of the test for non-standard format %C returning "the same as date(1)". This is hard to do reliably without opening a pipe to date, and moreover, on IRIX 6.2, %C yields the Century. So we use that instead. (We don't complain about this in non-verbose mode anyway.)
* Removed nonstandard strftime formats (strftime is tested moreGuido van Rossum1997-02-201-2/+2
| | | | extensively in test_strftime.py anyway).
* Remove %n and %t from the list of standard expectations.Guido van Rossum1997-02-191-2/+0
|
* Added test for ratecv (from Sjoerd, reformatted).Guido van Rossum1997-02-141-0/+9
|
* Did nobody ever notice that "make test" didn't print the summary lineGuido van Rossum1997-01-291-1/+0
| | | | | any more? This was because the *parent* process in test_socket.py did an os._exit(0)! Getting rid of that now...
* new.code() has grown another foot, eh, another two arguments.Guido van Rossum1997-01-271-1/+1
|
* Version 1.1. Fix memory leak and expensive comparison with None.Guido van Rossum1997-01-181-3/+22
|
* Add stacksize argument to new.code().Guido van Rossum1997-01-171-1/+1
|
* Make as sure as we can that the forked child does not return andGuido van Rossum1997-01-171-12/+15
| | | | continue the tests.
* Test output for the SGI cl C module test script.Roger E. Masse1997-01-171-0/+1
|
* Lame test script for the SGI cl C module.Roger E. Masse1997-01-171-0/+78
|
* Output from test script for the bsddb C extension module.Roger E. Masse1997-01-161-0/+1
|
* Test script for the bsddb C extension module.Roger E. Masse1997-01-161-0/+69
|
* Minor output message changeRoger E. Masse1997-01-162-2/+14
|
* test output for the binascii C module test script.Roger E. Masse1997-01-161-0/+1
|
* test script for the binascii C module.Roger E. Masse1997-01-162-0/+80
|
* test is no longer neededBarry Warsaw1997-01-162-32/+0
|
* Opps. Added tests for the last two methods that were missing fromRoger E. Masse1997-01-151-1/+11
| | | | the test program: 'grey2rgb' and 'rgb2grey'
* Modified to use 'rgbimg' instead of the SGI specific 'imgfile' for readingRoger E. Masse1997-01-151-24/+58
| | | | | | | | the imagefiles and converting tham to a format suitable for imageop. Also added two more tests 'rgb2rgb8' and 'rgb82rgb' which remove the dependence on the file 'greytest.rgb'. Note: test_imgfile.py still uses 'greytest.rgb'
* test(): close the pipe, just to shut up Purify.Barry Warsaw1997-01-141-0/+1
|
* Output for test of the timing moduleBarry Warsaw1997-01-131-0/+1
|
* Test of the timing moduleBarry Warsaw1997-01-131-0/+21
|
* Use the new regrtest harnessBarry Warsaw1997-01-131-4/+1
|
* updated the hex(-16) test since hex() of a signed literal has changed.Barry Warsaw1997-01-131-1/+1
|
* updated the oct(-100) test since oct() of a signed literal has changed.Barry Warsaw1997-01-131-1/+1
|
* Catch sunaudiodev.error on open() and re-raise TestFailed exception.Barry Warsaw1997-01-131-3/+7
|
* Oops, remove debugging statementsBarry Warsaw1997-01-131-1/+0
|
* A slightly better test of sunaudiodev module. Include the audio dataBarry Warsaw1997-01-132-22/+9
| | | | in the distribution.
* Rewrite the `hostname mismatch' test as per GvR suggestion.Barry Warsaw1997-01-131-2/+8
| | | | | | | Don't assume gethostbyaddr()'s primary hostname is the same as gethostname(), or even that gethostname() can be found in the list of hosts returned by gethostbyaddr(). We do test for at least one FQDN in gethostbyaddr().
* Test of the sunaudiodev module -- it simply plays a sound if it canBarry Warsaw1997-01-072-0/+39
| | | | | | find one and doesn't output any data that can be verified. If it can't find a sound file by looking in the standard Solaris locations (which we can extend later), it raises an ImportError.
* Added an os._exit(0) in the parent so we don't have two test processesBarry Warsaw1997-01-071-0/+3
| | | | after test_socket.py is run!
* New output file for strop testBarry Warsaw1997-01-061-0/+2
|
* Added a couple of strop.join() tests for large lists and long itemsBarry Warsaw1997-01-061-1/+20
| | | | within the lists (new output file to be checked in shortly).
* This is a very inobstrusive test for the existance of the SGI cd moduleRoger E. Masse1997-01-031-0/+26
| | | | | and all it's attributes. More comprehensive examples can be found in Demo/cd and require that you have a CD and a CD ROM drive
* Output file for test_cd.pyRoger E. Masse1997-01-031-0/+1
|
* Some small changes.Guido van Rossum1997-01-031-5/+15
| | | | | | | | | | | | | | Raise ImportError instead of SystemExit when $DISPLAY is not set, so regrtest.py will do the right thing. Add a call to gl.clear() to clear the window before drawing in it. Add some verbose prints for completeness. Use gl.v2i() for the coordinates of one of the lines, for a little bit of variety. Reduce the time the window is displayed from 5 to 2 seconds.
* Output file for test_al.pyRoger E. Masse1997-01-031-0/+1
|
* This is a very inobstrusive test for the existance of the al module and allRoger E. Masse1997-01-031-0/+24
| | | | it's attributes. More comprehensive examples can be found in Demo/al
* Output of socket module test.Barry Warsaw1997-01-031-0/+18
|
* Test of the socket module. The following functions and methods areBarry Warsaw1997-01-031-0/+131
| | | | | | | | | | | | not currently tested (or even touched): # socket.fromfd() # sktobj.getsockopt() # sktobj.recvfrom() # sktobj.sendto() # sktobj.setblocking() # sktobj.setsockopt() # sktobj.shutdown()
* Updated to include the verbose flag from test_supportRoger E. Masse1997-01-031-152/+197
|
* Change the ``calcsize*3'' test to be portable to 64-bit machines.Guido van Rossum1997-01-031-3/+7
|