diff options
Diffstat (limited to 'Lib/test/test_grammar.py')
-rw-r--r-- | Lib/test/test_grammar.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index 7f5d10d..1b4a506 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -685,8 +685,9 @@ x = 123 ### testlist: test (',' test)* [','] # These have been exercised enough above -print 'classdef' # 'class' NAME ['(' testlist ')'] ':' suite +print 'classdef' # 'class' NAME ['(' [testlist] ')'] ':' suite class B: pass +class B2(): pass class C1(B): pass class C2(B): pass class D(C1, C2, B): pass |