diff options
author | Fred Drake <fdrake@acm.org> | 2000-10-23 17:22:08 (GMT) |
---|---|---|
committer | Fred Drake <fdrake@acm.org> | 2000-10-23 17:22:08 (GMT) |
commit | 004d5e6880940ddbb38460986ac62ee0f1bae97d (patch) | |
tree | 682e75e743f5c22206a65ac0262c03ce37e4fbee /Lib/test/test_extcall.py | |
parent | 2e6d25c5bbf3e2d4f18191c0836b5ed8f94dc850 (diff) | |
download | cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.zip cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.gz cpython-004d5e6880940ddbb38460986ac62ee0f1bae97d.tar.bz2 |
Make reindent.py happy (convert everything to 4-space indents!).
Diffstat (limited to 'Lib/test/test_extcall.py')
-rw-r--r-- | Lib/test/test_extcall.py | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/Lib/test/test_extcall.py b/Lib/test/test_extcall.py index de2312b..10e4d6c 100644 --- a/Lib/test/test_extcall.py +++ b/Lib/test/test_extcall.py @@ -27,21 +27,21 @@ except TypeError, err: print "TypeError:", err else: print "should raise TypeError: not enough arguments; expected 1, got 0" - + try: g(*()) except TypeError, err: print "TypeError:", err else: print "should raise TypeError: not enough arguments; expected 1, got 0" - + try: g(*(), **{}) except TypeError, err: print "TypeError:", err else: print "should raise TypeError: not enough arguments; expected 1, got 0" - + g(1) g(1, 2) g(1, 2, 3) @@ -63,7 +63,7 @@ except AttributeError, attr: pass else: print "should raise AttributeError: __getitem__" - + class Nothing: def __len__(self): return 5 @@ -92,14 +92,14 @@ kw = saboteur(a=1, **d) assert d == {} # break the cycle del kw['x'] - + try: g(1, 2, 3, **{'x':4, 'y':5}) except TypeError, err: print err else: print "should raise TypeError: keyword parameter redefined" - + try: g(1, 2, 3, a=4, b=5, *(6, 7), **{'a':8, 'b':9}) except TypeError, err: |