Fix typo in unparsing of a class definition.

This commit is contained in:
Mark Dickinson 2010-06-29 18:38:59 +00:00
parent 927ccd257f
commit 578aa56f9a
2 changed files with 3 additions and 1 deletions

View file

@ -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."""