def METHOD_NAME(osparc_simcore_root_dir: Path, expected_python_version):
    mypy_ini_path = osparc_simcore_root_dir / "mypy.ini"
    assert mypy_ini_path.exists()
    mypy_ini = configparser.ConfigParser()
    mypy_ini.read(mypy_ini_path)
    assert mypy_ini["mypy"]["python_version"] == to_str(expected_python_version)