  
  @pytest.mark.parametrize("filename,results", zip(_INPUT, _EXPECTED), ids=[str(i) for i in _INPUT])
  def test_get_model_model_filename_input(
          get_model_instance: GetModel,  # pylint:disable=unused-argument
          filename: Union[str, List[str]],
          results: Union[str, List[str]]) -> None:
      """ Test :class:`~lib.utils.GetModel` filename parsing works
  
      Parameters
      ---------
      get_model_instance: `~lib.utils.GetModel`
 
</s> remove                                    error_type: Any,
                                   error_args: Tuple[Union[str, int], ...]) -> None:
 </s> add                                    error_type: T.Any,
                                   error_args: tuple[str | int, ...]) -> None: </s> remove def test_full_path_split(path: str, result: List[str]) -> None:
 </s> add def test_full_path_split(path: str, result: list[str]) -> None: </s> remove def test_camel_case_split(text: str, result: List[str]) -> None:
 </s> add def test_camel_case_split(text: str, result: list[str]) -> None: </s> remove @pytest.mark.parametrize("dummy", [None], ids=[get_backend().upper()])
def test_adam(dummy):  # pylint:disable=unused-argument
    """ Test for custom Adam optimizer """
    _test_optimizer(k_optimizers.Adam(), target=0.45)  # pylint:disable=no-member
    _test_optimizer(k_optimizers.Adam(decay=1e-3), target=0.45)  # pylint:disable=no-member


 </s> add  </s> remove                          choices: Union[str, List[str]],
 </s> add                          choices: str | list[str],
        filename: str | list[str],
        results: str | list[str]) -> None:
  
  @pytest.mark.parametrize("filename,results", zip(_INPUT, _EXPECTED), ids=[str(i) for i in _INPUT])
  def test_get_model_model_filename_input(
          get_model_instance: GetModel,  # pylint:disable=unused-argument
        filename: str | list[str],
        results: str | list[str]) -> None:
        filename: str | list[str],
        results: str | list[str]) -> None:
      """ Test :class:`~lib.utils.GetModel` filename parsing works
  
      Parameters
      ---------
      get_model_instance: `~lib.utils.GetModel`
keep keep keep keep replace replace keep keep keep keep keep
 Rebase code (#1326)

* Remove tensorflow_probability requirement

* setup.py - fix progress bars

* requirements.txt: Remove pre python 3.9 packages

* update apple requirements.txt

* update INSTALL.md

* Remove python<3.9 code

* setup.py - fix Windows Installer

* typing: python3.9 compliant

* Update pytest and readthedocs python versions

* typing fixes

* Python Version updates
  - Reduce max version to 3.10
  - Default to 3.10 in installers
  - Remove incompatible 3.11 tests

* Update dependencies

* Downgrade imageio dep for Windows

* typing: merge optional unions and fixes

* Updates
  - min python version 3.10
  - typing to python 3.10 spec
  - remove pre-tf2.10 code
  - Add conda tests

* train: re-enable optimizer saving

* Update dockerfiles

* Update setup.py
  - Apple Conda deps to setup.py
  - Better Cuda + dependency handling

* bugfix: Patch logging to prevent Autograph errors

* Update dockerfiles

* Setup.py - Setup.py - stdout to utf-8

* Add more OSes to github Actions

* suppress mac-os end to end test 
tests/lib/utils_test.py