summaryrefslogtreecommitdiffstats
path: root/source/python
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
commited0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2 (patch)
tree57a8645f7d4537961ebcecaf1779cf9c72a14a2a /source/python
parentbae2a38b17d4645e4faf74cd05a92511aee6c32b (diff)
downloadsamba-ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2.tar.gz
samba-ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2.tar.xz
samba-ed0e4a670d4d62b63afdaf7d9f13e39b98cdf1b2.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.
Diffstat (limited to 'source/python')
-rwxr-xr-xsource/python/examples/tdbpack/test_tdbpack.py4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/python/examples/tdbpack/test_tdbpack.py b/source/python/examples/tdbpack/test_tdbpack.py
index 659dc0efed9..e0553997c5a 100755
--- a/source/python/examples/tdbpack/test_tdbpack.py
+++ b/source/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: