def METHOD_NAME(self):
    yaml = """
    - option: total_data_imports
      default: 16
    """
    with pytest.warns(UserWarning, match="qwerty"):
        generate(StringIO(yaml), {"qwerty": "EBCDIC"})