code: def test_multi_write():
      vds1 = hl.vds.read_vds(
          os.path.join(resource("vds"), "1kg_chr22_5_samples.vds")
      )
      to_keep = vds1.variant_data.filter_cols(
          vds1.variant_data.s == "HG00187"
      ).cols()
      vds2 = hl.vds.filter_samples(vds1, to_keep)
  
      path1 = new_temp_file()
      path2 = new_temp_file()
      hl.vds.write_variant_datasets([vds1, vds2], [path1, path2])
  
      assert hl.vds.read_vds(path1)._same(vds1)
      assert hl.vds.read_vds(path2)._same(vds2)
  
imports: import os
  import pytest
  import hail
  from hail.utils import new_temp_file
  from hail.vds.combiner.combine import defined_entry_fields
  from ..helpers import resource, test_timeout, qobtest
label_desc: Use image node_id 3 for calling a global function with example usage: test_multi_write() without return types