mirror of
https://github.com/samba-team/samba.git
synced 2025-01-20 14:03:59 +03:00
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)
This commit is contained in:
parent
1c3677fe94
commit
06b055cea3
@ -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:
|
||||
|
Loading…
x
Reference in New Issue
Block a user