def METHOD_NAME(self, tmp_path: Path) -> None:
    """.toml files without [tool.pytest.ini_options] are not considered for configuration."""
    fn = tmp_path / "myconfig.toml"
    fn.write_text(
        dedent(
            """
        [build_system]
        x = 1
        """
        ),
        encoding="utf-8",
    )
    assert load_config_dict_from_file(fn) is None