test_pack: Coercing a dictionary to a sequence as it is packed is not
[samba.git] / source / python / examples / tdbpack / test_tdbpack.py
index 659dc0efed98019c86cdcd439ee9eaee652041ac..e0553997c5a178c02ecaf69e32c7e27b95970a77 100755 (executable)
@@ -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: