def METHOD_NAME(self):
    molecule = create_ethanol()
    molecule.generate_conformers(n_conformers=2)
    with pytest.warns(
        UserWarning,
        match="optional argument.*use_conformers",
    ):
        molecule.assign_partial_charges(
            partial_charge_method="_nagl_am1bccelf10",
            toolkit_registry=_NAGLToolkitWrapper(),
            use_conformers=[molecule.conformers[-1]],
        )
    with pytest.warns(
        UserWarning,
        match="optional argument.*strict_n_conformers",
    ):
        molecule.assign_partial_charges(
            partial_charge_method="_nagl_am1bccelf10",
            toolkit_registry=_NAGLToolkitWrapper(),
            strict_n_conformers=1,
        )