code: def test_get_versioned_url_anon():
      # The one without any authenticator, was crashing.
      # Also it triggered another bug about having . in the bucket name
      url_on = "http://dandiarchive.s3.amazonaws.com/ros3test.nwb"
      url_on_versioned = get_versioned_url(url_on)
      ok_startswith(url_on_versioned, url_on + "?versionId=")
  
imports: from datalad.downloaders.tests.utils import get_test_providers
  from datalad.support.network import URL
  from datalad.support.s3 import add_version_to_url, get_versioned_url
  from datalad.tests.utils_pytest import assert_raises, eq_, ok_startswith, skip_if_no_network, use_cassette
label_desc: Use image node_id 3 for calling a global function with example usage: test_get_versioned_url_anon() without return types