mirror of
https://github.com/python/cpython.git
synced 2025-09-05 00:11:10 +00:00
Fix typo in unparsing of a class definition.
This commit is contained in:
parent
927ccd257f
commit
578aa56f9a
2 changed files with 3 additions and 1 deletions
|
@ -156,6 +156,8 @@ class UnparseTestCase(ASTTestCase):
|
|||
def test_class_decorators(self):
|
||||
self.check_roundtrip(class_decorator)
|
||||
|
||||
def test_class_definition(self):
|
||||
self.check_roundtrip("class A(metaclass=type, *[], **{}): pass")
|
||||
|
||||
class DirectoryTestCase(ASTTestCase):
|
||||
"""Test roundtrip behaviour on all files in Lib and Lib/test."""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue