code: def test_remove_nonexistent(tmpdir):
      """Attempting to remove a file that does not exist results in an OSError"""
      filename = str(tmpdir.join("does_not_exist.shp"))
      assert not os.path.exists(filename)
      with pytest.raises(OSError):
          fiona.remove(filename)
  
file_path: Fiona/tests/test_remove.py
imports: import logging
  import sys
  import os
  import itertools
  from .conftest import requires_gpkg
  import pytest
  import fiona
  from fiona.errors import DatasetDeleteError
  from fiona.model import Feature
label_desc: Use image node_id 3 for calling a global function with example usage: test_remove_nonexistent(tmpdir) without return types