commit | 505043f35ee96e1733e8e055bdb53cf2c0e231c9 | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Wed Apr 16 00:27:45 1997 +0000 |
committer | Guido van Rossum <guido@python.org> | Wed Apr 16 00:27:45 1997 +0000 |
tree | db364c382a7665d5ea00b4be6e0d0e96b5e152f2 | |
parent | b5d20393b17fba8accb528ab9af0e06ef0adafc6 [diff] [blame] |
No need to define assert, it's built in.
diff --git a/Lib/test/test_grammar.py b/Lib/test/test_grammar.py index b9607ac..21012d2 100644 --- a/Lib/test/test_grammar.py +++ b/Lib/test/test_grammar.py
@@ -83,8 +83,8 @@ print '1.1.3 String literals' -def assert(s): - if not s: raise TestFailed, 'see traceback' +##def assert(s): +## if not s: raise TestFailed, 'see traceback' x = ''; y = ""; assert(len(x) == 0 and x == y) x = '\''; y = "'"; assert(len(x) == 1 and x == y and ord(x) == 39)