Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-29919: Remove unused imports found by pyflakes (#137) | Victor Stinner | 2017-03-27 | 1 | -1/+0 |
| | | | Make also minor PEP8 coding style fixes on modified imports. | ||||
* | Anti-registration of various ABC methods. | Guido van Rossum | 2016-08-18 | 1 | -1/+49 |
| | | | | | | | | | | - Issue #25958: Support "anti-registration" of special methods from various ABCs, like __hash__, __iter__ or __len__. All these (and several more) can be set to None in an implementation class and the behavior will be as if the method is not defined at all. (Previously, this mechanism existed only for __hash__, to make mutable classes unhashable.) Code contributed by Andrew Barnert and Ivan Levkivskyi. | ||||
* | Issue #23277: Remove unused imports in tests. | Serhiy Storchaka | 2016-04-24 | 1 | -1/+1 |
| | |||||
* | Issue #26778: Fixed "a/an/and" typos in code comment and documentation. | Serhiy Storchaka | 2016-04-17 | 1 | -1/+1 |
| | |||||
* | Issue #4395: Better testing and documentation of binary operators. | Robert Collins | 2015-08-06 | 1 | -1/+21 |
|\ | | | | | | | Patch by Martin Panter. | ||||
| * | Issue #4395: Better testing and documentation of binary operators. | Robert Collins | 2015-08-06 | 1 | -1/+22 |
| | | | | | | | | Patch by Martin Panter. | ||||
* | | Issue #21741: Update 147 test modules to use test discovery. | Zachary Ware | 2015-04-13 | 1 | -4/+1 |
|/ | | | | | | | I have compared output between pre- and post-patch runs of these tests to make sure there's nothing missing and nothing broken, on both Windows and Linux. The only differences I found were actually tests that were previously *not* run. | ||||
* | Issue #21408: The default __ne__() now returns NotImplemented if __eq__() | Serhiy Storchaka | 2015-01-26 | 1 | -4/+0 |
| | | | | returned NotImplemented. Removed incorrect implementations of __ne__(). | ||||
* | Syntax cleanup. | Florent Xicluna | 2010-07-28 | 1 | -1/+1 |
| | |||||
* | Issue #7435: Remove duplicate int/long tests, and other | Mark Dickinson | 2009-12-05 | 1 | -9/+6 |
| | | | | references to long in py3k. Patch provided by flox. | ||||
* | Issue #6970: Remove redundant calls made when comparing objects. | Mark Dickinson | 2009-11-15 | 1 | -2/+72 |
| | |||||
* | convert old fail* assertions to assert* | Benjamin Peterson | 2009-06-30 | 1 | -4/+4 |
| | |||||
* | Issue 4910, patch 2 of (probably) 3: pave the way for renaming of | Mark Dickinson | 2009-01-15 | 1 | -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_binop | Benjamin Peterson | 2008-06-28 | 1 | -12/+7 |
| | |||||
* | #2621 rename test.test_support to test.support | Benjamin Peterson | 2008-05-20 | 1 | -2/+2 |
| | |||||
* | Raise statement normalization in Lib/test/. | Collin Winter | 2007-08-29 | 1 | -6/+6 |
| | |||||
* | Rip out 'long' and 'L'-suffixed integer literals. | Guido van Rossum | 2007-01-15 | 1 | -7/+7 |
| | | | | (Rough first cut.) | ||||
* | Patch #1550800: make exec a function. | Georg Brandl | 2006-09-06 | 1 | -1/+1 |
| | |||||
* | Get rid of remnants of integer division | Neal Norwitz | 2006-03-24 | 1 | -4/+0 |
| | |||||
* | Fix error in a docstring where a single quote started the docstring but triple | Brett Cannon | 2005-04-30 | 1 | -1/+1 |
| | | | | | | quote ended it. Closes bug #1192777. Thanks Christopher Smith. | ||||
* | Get rid of relative imports in all unittests. Now anything that | Barry Warsaw | 2002-07-23 | 1 | -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. This | Fred Drake | 2001-09-20 | 1 | -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 Rossum | 2001-09-06 | 1 | -2/+2 |
| | |||||
* | The first batch of changes recommended by the fixdiv tool. These are | Guido van Rossum | 2001-09-04 | 1 | -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 with | Guido van Rossum | 2001-08-24 | 1 | -18/+0 |
| | | | | the same signature. | ||||
* | Fix for bug [#452230] future division isn't propagated. | Tim Peters | 2001-08-17 | 1 | -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 number | Guido van Rossum | 2001-08-08 | 1 | -0/+340 |
class. |