summaryrefslogtreecommitdiffstats
path: root/Demo/parser/test_unparse.py
diff options
context:
space:
mode:
Diffstat (limited to 'Demo/parser/test_unparse.py')
-rw-r--r--Demo/parser/test_unparse.py2
1 files changed, 2 insertions, 0 deletions
diff --git a/Demo/parser/test_unparse.py b/Demo/parser/test_unparse.py
index 6c060f3..f4a3e66 100644
--- a/Demo/parser/test_unparse.py
+++ b/Demo/parser/test_unparse.py
@@ -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."""