mirror of
https://github.com/python/cpython.git
synced 2025-08-24 18:55:00 +00:00
Issue #23641: Cleaned out legacy dunder names from tests and docs.
Fixed 2 to 3 porting bug in pynche.ColorDB. Added few tests for __truediv__, __floordiv__ and __matmul__.
This commit is contained in:
commit
c2ccce791c
19 changed files with 86 additions and 124 deletions
|
@ -698,7 +698,7 @@ class TestBasicOps(unittest.TestCase):
|
|||
# iter.__next__ failure on inner object
|
||||
self.assertRaises(ExpectedError, gulp, delayed_raise(1))
|
||||
|
||||
# __cmp__ failure
|
||||
# __eq__ failure
|
||||
class DummyCmp:
|
||||
def __eq__(self, dst):
|
||||
raise ExpectedError
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue