code: def test_backwards_compat(self):
      _register_filesystems.cache_clear()
      from airflow.io import _BUILTIN_SCHEME_TO_FS as SCHEMES
  
      try:
          SCHEMES["file"] = get_fs_no_storage_options  # type: ignore[call-arg]
  
          assert get_fs("file")
  
          with pytest.raises(AttributeError):
              get_fs("file", storage_options={"foo": "bar"})
  
      finally:
          # Reset the cache to avoid side effects
          _register_filesystems.cache_clear()
  
imports: from __future__ import annotations
  import uuid
  from stat import S_ISDIR, S_ISREG
  from tempfile import NamedTemporaryFile
  from unittest import mock
  import pytest
  from fsspec.implementations.local import LocalFileSystem
  from fsspec.utils import stringify_path
  from airflow.io import _register_filesystems, get_fs
  from airflow.io.path import ObjectStoragePath
  from airflow.io.store import _STORE_CACHE, ObjectStore, attach
  from airflow.utils.module_loading import qualname
label_desc: Use image node_id 19 for calling the TestFs obj's underlying member method code with example usage: obj.test_backwards_compat() without return types