summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_operator.py
Commit message (Collapse)AuthorAgeFilesLines
* SF patch #670423: Add missing identity tests to operator.cRaymond Hettinger2003-01-181-0/+11
|
* Added __pow__(a,b) to the operator module. Completes the pattern ofRaymond Hettinger2002-08-191-0/+6
| | | | | | all operators having a counterpart in the operator module. Closes SF bug #577513.
* 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. :)
* Change the PyUnit-based tests to use the test_main() approach. ThisFred Drake2001-09-201-1/+6
| | | | | allows using the tests with unittest.py as a script. The tests will still run when run as a script themselves.
* The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum2001-09-041-1/+1
| | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended.
* Added tests for rich comparison operator functions.Fred Drake2001-08-111-78/+212
| | | | Converted tests to PyUnit.
* Added tests for operator.floordiv() and operator.truediv().Fred Drake2001-08-091-0/+2
|
* Update the code to better reflect recommended style:Fred Drake2000-12-121-5/+5
| | | | | Use != instead of <> since <> is documented as "obsolescent". Use "is" and "is not" when comparing with None or type objects.
* Mass check-in after untabifying all files that need it.Guido van Rossum1998-03-261-3/+3
|
* test_rotor.py: New test of the rotor module.Barry Warsaw1996-12-231-0/+1
| | | | | | | test_*: converted to the new test harness. GvR note! test_signal.py works interatively (i.e. when verbose=1) but does not work inside the test harness. It must be a timing issue, but I haven't figured it out yet.
* Test of the operator moduleBarry Warsaw1996-12-181-0/+76