436 },
437 "group2": {
438 'metadata': {
439 'foo': set([2]), 440 },
441 },
442 },
431 groups={
432 "group1": {
433 'metadata': {
434 'foo': set([1]), 435 },
436 },
437 "group2": {
404 groups={
405 "group1": {
406 'metadata': {
407 'foo': set([1]), 408 },
409 },
410 "group2": {
44 },
45 'key7': set((7, 7, 7)),
46 },
47 }, leaves_only=True)) == set([ 48 ("key1",),
49 ("key2", "key3"),
50 ("key2", "key4"),
42 'key5': {
43 'key6': "6",
44 },
45 'key7': set((7, 7, 7)), 46 },
47 }, leaves_only=True)) == set([
48 ("key1",),
It is unnecessary to use a list
or tuple
literal within a call to tuple
, list
, set
, or dict
since there is a literal syntax for these types.