code: def test_bag():
      # This test pulls from different hosts
      urls = [
          "https://raw.githubusercontent.com/weierophinney/pastebin/"
          "master/public/js-src/dojox/data/tests/stores/patterns.csv",
          "https://en.wikipedia.org",
      ]
      b = db.read_text(urls)
      assert b.npartitions == 2
      b.compute()
  
imports: from __future__ import annotations
  import os
  import subprocess
  import sys
  import time
  import fsspec
  import pytest
  from fsspec.core import open_files
  from packaging.version import parse
  import dask.bag
  from dask.utils import tmpdir
label_desc: Use image node_id 11 for calling a global function with example usage: test_bag() without return types