Commit Graph

15 Commits

Author SHA1 Message Date
Fred Drake db1bd5c230 Revise tests to support str(<long int object>) not appending "L". 1999-12-23 15:36:42 +00:00
Guido van Rossum 26fd98201f Change the last 4-space indent into a 1-tab indent. 1998-05-22 15:05:36 +00:00
Guido van Rossum 7995ed204a The reload(sys) test no longer works due to changes in the import
semantics.
1997-08-02 03:19:26 +00:00
Guido van Rossum d9c6f4fd7d Allow oct() result for 64-bit machines. 1997-06-06 21:14:14 +00:00
Barry Warsaw 906a5e9c68 updated the oct(-100) test since oct() of a signed literal has changed. 1997-01-13 22:36:03 +00:00
Guido van Rossum a49d94af08 test for specific bug in vars() 1995-08-11 14:24:35 +00:00
Guido van Rossum eecf035aa2 Test new __import__ module, test reload of built-in module, test
has_key() on empty dictionary
1994-12-30 17:17:46 +00:00
Guido van Rossum e23b62f288 more complete tests of built-in functions 1994-11-10 22:25:26 +00:00
Guido van Rossum b6775db241 Merge alpha100 branch back to main trunk 1994-08-01 11:34:53 +00:00
Guido van Rossum ae3b3a33d8 * test_*.py: new lambda syntax (also affects tests for filter, map,
reduce)
* ftplib.py: added default callback for retrlines; added dir() method
* ftplib.py: don't return self in self.connect(); added hack so that if
  'CDUP' is not understood, 'CWD ..' is tried.
* ftplib.py: second method called init() should have been called
  connect(); if __init__ sees more than one argument, it will also try to
  login().
1993-11-30 13:43:54 +00:00
Guido van Rossum e65cce5eec * string.py: added rindex(), rfind(); changed index() to interpret
negative start indices starting from the right.
* ftplib.py: debug() -> set_debuglevel(); change demo to use __init__().
* os.py: added execl, execlp, and execvp.
* lambda.py: removed (now that we have built-in map, reduce, bagof, lambda)
* test_b{1,2}.py, testall.out: added tests for bagof, lambda, map, reduce
* commands.py: use os, not posix
* test_grammar.py: make it easy to disable non-portable int overflow tests
* dis.py: don't abuse range()
1993-11-08 15:05:21 +00:00
Guido van Rossum e7113b6b3d * Fix bug in tzparse.py for DST timezone
* Added whatis command to pdb.py
* new module GET.py (GL definitions from <gl/get.h>)
* rect.py: is_empty takes a rect as argument, not two points.
* Added tests for builtin round() [XXX not yet complete!]
1993-03-29 11:30:50 +00:00
Guido van Rossum 35fb82a33f * os.py: _exit doesn't exist in all variations of posix
* Added fcmp() to test_support.py and use it in test*.py
1993-01-26 13:04:43 +00:00
Guido van Rossum 85f1820ee1 Added some new tests and two new files for testing: test_types.py
(testing operations on built-in types) and autotest.py (automatic
regression testing).
1992-11-27 22:53:50 +00:00
Guido van Rossum 3bead0984c Initial revision 1992-01-27 17:00:37 +00:00