From 06b055cea3bfca8e9b7e2d11526b39839a9f0f53 Mon Sep 17 00:00:00 2001 From: Martin Pool Date: Mon, 4 Nov 2002 19:54:06 +0000 Subject: 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) --- source3/python/examples/tdbpack/test_tdbpack.py | 4 ---- 1 file changed, 4 deletions(-) (limited to 'source3/python') 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: -- cgit