diff options
author | Guido van Rossum <guido@python.org> | 1997-04-16 00:27:45 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-04-16 00:27:45 (GMT) |
commit | 505043f35ee96e1733e8e055bdb53cf2c0e231c9 (patch) | |
tree | db364c382a7665d5ea00b4be6e0d0e96b5e152f2 | |
parent | b5d20393b17fba8accb528ab9af0e06ef0adafc6 (diff) | |
download | cpython-505043f35ee96e1733e8e055bdb53cf2c0e231c9.zip cpython-505043f35ee96e1733e8e055bdb53cf2c0e231c9.tar.gz cpython-505043f35ee96e1733e8e055bdb53cf2c0e231c9.tar.bz2 |
No need to define assert, it's built in.
-rw-r--r-- | Lib/test/test_grammar.py | 4 |
1 files changed, 2 insertions, 2 deletions
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 @@ x = 3.1e4 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) |