code: def test_scale_from_extent(self):
      # Check that scaler.scale_from_extent returns the appropriate
      # scales.
      small_scale = auto_land.scaler.scale_from_extent(small_extent)
      medium_scale = auto_land.scaler.scale_from_extent(medium_extent)
      large_scale = auto_land.scaler.scale_from_extent(large_extent)
      assert small_scale == "10m"
      assert medium_scale == "50m"
      assert large_scale == "110m"
  
file_path: cartopy/lib/cartopy/tests/test_features.py
imports: import pytest
  import cartopy.feature
label_desc: Use image node_id 2 for calling the TestFeatures obj's underlying member method code with example usage: obj.test_scale_from_extent() without return types