docstr: Named lists that are lists of files become a space-separated string as you
  can't nest arrays in bash
docstr_tok: ["Named","lists","that","are","lists","of","files","become","a","space-separated","string","as","you","ca","n't","nest","arrays","in","bash"]
code: def test_named_list_named_is_list(self):
      """Named lists that are lists of files become a space-separated string as you
      can't nest arrays in bash"""
      named_list = InputFiles(["test1.in", ["test2.in", "named.in"]])
      named_list._set_name("named", 1)
  
      actual = BashEncoder.encode_namedlist(named_list)
      expected = r"""( [0]="test1.in" [1]="test2.in named.in" [named]="test2.in named.in" )"""
  
      assert actual == expected
  
imports: from textwrap import dedent
  from snakemake.io import InputFiles
  from snakemake.script import RustScript, BashEncoder
label_desc: Use image node_id 2 for calling the TestBashEncoder obj's underlying member method code with example usage: obj.test_named_list_named_is_list() without return types