mirror of
https://github.com/python/cpython.git
synced 2025-09-26 18:29:57 +00:00
this must be a typo
This commit is contained in:
parent
4b26acbf03
commit
0badae4748
1 changed files with 1 additions and 1 deletions
|
@ -142,7 +142,7 @@ class TestReversed(unittest.TestCase):
|
||||||
# don't allow keyword arguments
|
# don't allow keyword arguments
|
||||||
self.assertRaises(TypeError, reversed, [], a=1)
|
self.assertRaises(TypeError, reversed, [], a=1)
|
||||||
|
|
||||||
def test_class_class(self):
|
def test_classic_class(self):
|
||||||
class A:
|
class A:
|
||||||
def __reversed__(self):
|
def __reversed__(self):
|
||||||
return [2, 1]
|
return [2, 1]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue