diff options
Diffstat (limited to 'Lib')
-rw-r--r-- | Lib/test/test_extcall.py | 8 | ||||
-rw-r--r-- | Lib/test/test_gettext.py | 4 |
2 files changed, 8 insertions, 4 deletions
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py index 9effac7..1e80387 100644 --- a/Lib/test/test_extcall.py +++ b/Lib/test/test_extcall.py @@ -191,11 +191,15 @@ print Foo.method(x, *(1, 2)) try: print Foo.method(*(1, 2, 3)) except TypeError, err: - print err + pass +else: + print 'expected a TypeError for unbound method call' try: print Foo.method(1, *(2, 3)) except TypeError, err: - print err + pass +else: + print 'expected a TypeError for unbound method call' # A PyCFunction that takes only positional parameters should allow an # empty keyword dictionary to pass without a complaint, but raise a diff --git a/Lib/test/test_gettext.py b/Lib/test/test_gettext.py index 56a8524..f64052c 100644 --- a/Lib/test/test_gettext.py +++ b/Lib/test/test_gettext.py @@ -152,8 +152,8 @@ finally: ''' # Dummy translation for Python's test_gettext.py module. -# Copyright (C) 2000 BeOpen.com -# Barry Warsaw <bwarsaw@beopen.com>, 2000. +# Copyright (C) 2001 Python Software Foundation +# Barry Warsaw <barry@python.org>, 2000. # msgid "" msgstr "" |