diff options
author | Martin Pool <mbp@samba.org> | 2002-11-04 19:54:06 +0000 |
---|---|---|
committer | Martin Pool <mbp@samba.org> | 2002-11-04 19:54:06 +0000 |
commit | 06b055cea3bfca8e9b7e2d11526b39839a9f0f53 (patch) | |
tree | 17d2996b521bc0779bff702b8dcd7776a5550623 /source3 | |
parent | 1c3677fe94cdce00f502cd70d1777b8963af7717 (diff) | |
download | samba-06b055cea3bfca8e9b7e2d11526b39839a9f0f53.tar.gz samba-06b055cea3bfca8e9b7e2d11526b39839a9f0f53.tar.bz2 samba-06b055cea3bfca8e9b7e2d11526b39839a9f0f53.zip |
test_pack: Coercing a dictionary to a sequence as it is packed is not
compatible with the old code, and so it is removed from the test case.
(This used to be commit ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2)
Diffstat (limited to 'source3')
-rwxr-xr-x | source3/python/examples/tdbpack/test_tdbpack.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/source3/python/examples/tdbpack/test_tdbpack.py b/source3/python/examples/tdbpack/test_tdbpack.py index 659dc0efed..e0553997c5 100755 --- a/source3/python/examples/tdbpack/test_tdbpack.py +++ b/source3/python/examples/tdbpack/test_tdbpack.py @@ -95,10 +95,6 @@ class PackTests(unittest.TestCase): cases = [('w', (42,), '\x2a\0'), ('p', [None], '\0\0\0\0'), ('p', ['true'], '\x01\0\0\0'), - - ('w', {1: 'fruit'}, '\x01\0'), - # passing a dictionary is dodgy, but it gets coerced to keys - # as if you called list() ] for packer in both_packers: |