code: def test_datasetreader_ctor_url(gdalenv):
      """DatasetReader constructor accepts URLs."""
      dataset = DatasetReader(httpstif)
      assert dataset.name.startswith("https")
      assert dataset.name.endswith("float32.tif?raw=true")
  
imports: import pytest
  from rasterio.io import DatasetReader, DatasetWriter
label_desc: Use image node_id 2 for calling a global function with example usage: test_datasetreader_ctor_url(gdalenv) without return types