summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorMartin Pool <mbp@samba.org>2002-11-04 19:54:06 +0000
committerMartin Pool <mbp@samba.org>2002-11-04 19:54:06 +0000
commit06b055cea3bfca8e9b7e2d11526b39839a9f0f53 (patch)
tree17d2996b521bc0779bff702b8dcd7776a5550623 /source3
parent1c3677fe94cdce00f502cd70d1777b8963af7717 (diff)
downloadsamba-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-xsource3/python/examples/tdbpack/test_tdbpack.py4
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: