def METHOD_NAME(android_sdk, capsys):
    """If the AVD config contains an emulator skin in an unusual location, raise a
    warning, but continue."""
    # Mock an AVD configuration that contains a skin.name and skin.path
    # in an unexpected location
    android_sdk.avd_config = mock.MagicMock(
        return_value={
            "avd.ini.encoding": "UTF-8",
            "hw.device.manufacturer": "Google",
            "hw.device.name": "pixel",
            "weird.key": "good=bad",
            "PlayStore.enabled": "no",
            "avd.name": "beePhone",
            "disk.cachePartition": "yes",
            "disk.cachePartition.size": "42M",
            # Add an emulator skin.
            "skin.name": "pixel_3a",
            "skin.path": "weird/pixel_3a",
        }
    )
    android_sdk.verify_system_image = mock.MagicMock()
    android_sdk.verify_emulator_skin = mock.MagicMock()
    # Verify the AVD
    android_sdk.verify_avd("goodDevice")
    # The AVD config was loaded.
    android_sdk.avd_config.assert_called_with("goodDevice")
    # A warning message was output
    assert "WARNING: Unrecognized device skin" in capsys.readouterr().out
    # The system image was not verified
    android_sdk.verify_system_image.assert_not_called()
    # The emulator skin was not verified
    android_sdk.verify_emulator_skin.assert_not_called()