cpython: bcfb499338c1 (original) (raw)

Mercurial > cpython

changeset 73806:bcfb499338c1 2.7

#8414: add more tests for "assert". Initial patch by Gregory Nofi. [#8414]

Ezio Melotti ezio.melotti@gmail.com
date Fri, 02 Dec 2011 18:17:30 +0200
parents 3ecddf168f1f
children d9e918c8d9d6
files Lib/test/test_grammar.py
diffstat 1 files changed, 24 insertions(+), 2 deletions(-)[+] [-] Lib/test/test_grammar.py 26

line wrap: on

line diff

--- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py @@ -551,13 +551,35 @@ hello world assert 1, 1 assert lambda x:x assert 1, lambda x:x+1 +

+

+

+

+ ### compound_stmt: if_stmt | while_stmt | for_stmt | try_stmt | funcdef | classdef # Tested below