summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_augassign.py
Commit message (Collapse)AuthorAgeFilesLines
* Anti-registration of various ABC methods.Guido van Rossum2016-08-181-0/+8
| | | | | | | | | | - 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 #21741: Update 147 test modules to use test discovery.Zachary Ware2015-04-131-5/+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 #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-8/+0
|\ | | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
| * Issue #23641: Cleaned out legacy dunder names from tests and docs.Serhiy Storchaka2015-03-121-8/+0
| | | | | | | | Fixed 2 to 3 porting bug in pynche.ColorDB.
* | PEP 465: a dedicated infix operator for matrix multiplication (closes #21176)Benjamin Peterson2014-04-101-0/+15
|/
* #9424: Replace deprecated assert* methods in the Python test suite.Ezio Melotti2010-11-201-9/+9
|
* Merged revisions 77727 via svnmerge fromEzio Melotti2010-01-241-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line use assert[Not]IsInstance where appropriate ........
* Merged revisions 75223 via svnmerge fromBenjamin Peterson2009-10-031-0/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r75223 | benjamin.peterson | 2009-10-03 15:23:24 -0500 (Sat, 03 Oct 2009) | 1 line #7050 fix a SystemError when using tuple unpacking and augmented assignment ........
* convert old fail* assertions to assert*Benjamin Peterson2009-06-301-6/+6
|
* #2621 rename test.test_support to test.supportBenjamin Peterson2008-05-201-1/+1
|
* Merge p3yk branch with the trunk up to revision 45595. This breaks a fairThomas Wouters2006-04-211-256/+310
| | | | | | | | | | | | | | | | | | | | number of tests, all because of the codecs/_multibytecodecs issue described here (it's not a Py3K issue, just something Py3K discovers): http://mail.python.org/pipermail/python-dev/2006-April/064051.html Hye-Shik Chang promised to look for a fix, so no need to fix it here. The tests that are expected to break are: test_codecencodings_cn test_codecencodings_hk test_codecencodings_jp test_codecencodings_kr test_codecencodings_tw test_codecs test_multibytecodec This merge fixes an actual test failure (test_weakref) in this branch, though, so I believe merging is the right thing to do anyway.
* Fix the superficial augmented-assignment tests to deal with true division.Thomas Wouters2006-04-151-6/+15
| | | | | | Add (equally superficial) >>=/<<= test in the process. Relies on floats that should be extremely close to the int '6' printing as '6.0', but I believe that's a valid assumption ;P
* Get rid of remnants of integer divisionNeal Norwitz2006-03-241-21/+9
|
* Fiddle test_augassign so it passes under -Qnew.Tim Peters2001-12-111-3/+10
|
* The first batch of changes recommended by the fixdiv tool. These areGuido van Rossum2001-09-041-3/+3
| | | | | mostly changes of / operators into //. Once or twice I did more or less than recommended.
* Add tests for augmented floor divisionJeremy Hylton2001-08-291-0/+24
|
* Make reindent.py happy (convert everything to 4-space indents!).Fred Drake2000-10-231-101/+99
|
* Support for augmented assignment in the UserList, UserDict, UserString andThomas Wouters2000-08-241-0/+232
rfc822 (Addresslist) modules. Also a preliminary testcase for augmented assignment, which should actually be merged with the test_class testcase I added last week.