diff options
author | Guido van Rossum <guido@python.org> | 1997-08-15 00:45:26 (GMT) |
---|---|---|
committer | Guido van Rossum <guido@python.org> | 1997-08-15 00:45:26 (GMT) |
commit | ff712aa8abde6a1a892ec39bb124cfd4a7cb992a (patch) | |
tree | c5cf2853501f0678abb92fb8e91315b3ee0d8a76 /Lib/dos-8x3/test_typ.py | |
parent | f84a539d38ffe79a4eb940c4a2071294fa734fe8 (diff) | |
download | cpython-ff712aa8abde6a1a892ec39bb124cfd4a7cb992a.zip cpython-ff712aa8abde6a1a892ec39bb124cfd4a7cb992a.tar.gz cpython-ff712aa8abde6a1a892ec39bb124cfd4a7cb992a.tar.bz2 |
The usual.
Diffstat (limited to 'Lib/dos-8x3/test_typ.py')
-rwxr-xr-x | Lib/dos-8x3/test_typ.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Lib/dos-8x3/test_typ.py b/Lib/dos-8x3/test_typ.py index 8be70b8..eedf65a 100755 --- a/Lib/dos-8x3/test_typ.py +++ b/Lib/dos-8x3/test_typ.py @@ -183,9 +183,9 @@ if d <> {'a': 4, 'c': 3}: raise TestFailed, 'dict item deletion' d = {1:1, 2:2, 3:3} d.clear() if d != {}: raise TestFailed, 'dict clear' -d.absorb({1:100}) -d.absorb({2:20}) -d.absorb({1:1, 2:2, 3:3}) -if d != {1:1, 2:2, 3:3}: raise TestFailed, 'dict absorb' +d.update({1:100}) +d.update({2:20}) +d.update({1:1, 2:2, 3:3}) +if d != {1:1, 2:2, 3:3}: raise TestFailed, 'dict update' if d.copy() != {1:1, 2:2, 3:3}: raise TestFailed, 'dict copy' if {}.copy() != {}: raise TestFailed, 'empty dict copy' |