diff options
author | Guido van Rossum <guido@python.org> | 1993-05-24 14:16:22 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1993-05-24 14:16:22 (GMT) |
commit | d316607732aa70361d5793f6b301b70fab7ca367 (patch) | |
tree | d87376c3075042ebffdbf8bb13416f8055a5fd13 /Lib/test | |
parent | b3f7258f14cb2f3e52236a4087ed82541a173e7b (diff) | |
download | cpython-d316607732aa70361d5793f6b301b70fab7ca367.zip cpython-d316607732aa70361d5793f6b301b70fab7ca367.tar.gz cpython-d316607732aa70361d5793f6b301b70fab7ca367.tar.bz2 |
* ftplib.py: added abort() command (sends oob data).
* Several modules: change "class C(): ..." to "class C: ...".
* flp.py: support for frozen forms.
* Added string.find() which is like index but returns -1 if not found
Diffstat (limited to 'Lib/test')
-rw-r--r-- | Lib/test/test_types.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/test/test_types.py b/Lib/test/test_types.py index e14fa3a..ec0f841 100644 --- a/Lib/test/test_types.py +++ b/Lib/test/test_types.py @@ -21,7 +21,7 @@ if not (1, 1): raise TestFailed, '(1, 1) is false instead of true' if not [1]: raise TestFailed, '[1] is false instead of true' if not {'x': 1}: raise TestFailed, '{\'x\': 1} is false instead of true' def f(): pass -class C(): pass +class C: pass import sys x = C() if not f: raise TestFailed, 'f is false instead of true' |