summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_binop.py
Commit message (Collapse)AuthorAgeFilesLines
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-4/+4
|
* Issue 4910, patch 2 of (probably) 3: pave the way for renaming ofMark Dickinson2009-01-151-6/+0
| | | | | | | | | nb_long: remove last remaining use of nb_long (in the struct module) from the core, set nb_long slots on all builtin and extension types to 0, and remove uses of __long__ in test_complex and test_binop. Reviewed by Benjamin Peterson.
* division is no longer a future thing for test_binopBenjamin Peterson2008-06-281-12/+7
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-2/+2
|
* Raise statement normalization in Lib/test/.Collin Winter2007-08-291-6/+6
|
* Rip out 'long' and 'L'-suffixed integer literals.Guido van Rossum2007-01-151-7/+7
| | | | (Rough first cut.)
* Patch #1550800: make exec a function.Georg Brandl2006-09-061-1/+1
|
* Get rid of remnants of integer divisionNeal Norwitz2006-03-241-4/+0
|
* Fix error in a docstring where a single quote started the docstring but tripleBrett Cannon2005-04-301-1/+1
| | | | | | quote ended it. Closes bug #1192777. Thanks Christopher Smith.
* 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.
* Rename 'getset' to 'property'.Guido van Rossum2001-09-061-2/+2
|
* The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum2001-09-041-2/+2
| | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended.
* Remove the local 'getset' class -- this is now a built-in type withGuido van Rossum2001-08-241-18/+0
| | | | the same signature.
* Fix for bug [#452230] future division isn't propagated.Tim Peters2001-08-171-0/+1
| | | | | | | builtin_eval wasn't merging in the compiler flags from the current frame; I suppose we never noticed this before because future division is the first future-feature that can affect expressions (nested_scopes and generators had only statement-level effects).
* A test suite for binary operators, disguised as a rational numberGuido van Rossum2001-08-081-0/+340
class.