mirror of
https://github.com/python/cpython.git
synced 2025-11-01 10:45:30 +00:00
Remove __metaclass__ remains.
This commit is contained in:
parent
7626235633
commit
e81f5ef1eb
5 changed files with 11 additions and 13 deletions
|
|
@ -440,7 +440,7 @@ class ClassPropertiesAndMethods(unittest.TestCase):
|
|||
self.assertEqual(a[100:200], (100,200))
|
||||
|
||||
def test_metaclass(self):
|
||||
# Testing __metaclass__...
|
||||
# Testing metaclasses...
|
||||
class C(metaclass=type):
|
||||
def __init__(self):
|
||||
self.__state = 0
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue