|
1 | | -# Copyright 2020-2024 The MathWorks, Inc. |
| 1 | +# Copyright 2020-2025 The MathWorks, Inc. |
2 | 2 |
|
3 | 3 | import inspect |
4 | 4 | import os |
@@ -88,7 +88,7 @@ def test_setup_matlab(set_mwi_use_fallback_kernel): |
88 | 88 | """ |
89 | 89 | # Setup |
90 | 90 | package_path = Path(inspect.getfile(jupyter_matlab_proxy)).parent |
91 | | - icon_path = package_path / "icon_open_matlab.svg" |
| 91 | + icon_path = str(package_path / "icon_open_matlab.svg") |
92 | 92 |
|
93 | 93 | expected_matlab_setup = { |
94 | 94 | "command": [ |
@@ -128,7 +128,7 @@ def test_setup_matlab_with_proxy_manager(monkeypatch): |
128 | 128 | monkeypatch.setattr("jupyter_matlab_proxy._MPM_AUTH_TOKEN", "secret") |
129 | 129 | monkeypatch.setattr("jupyter_matlab_proxy._JUPYTER_SERVER_PID", "123") |
130 | 130 | package_path = Path(inspect.getfile(jupyter_matlab_proxy)).parent |
131 | | - icon_path = package_path / "icon_open_matlab.svg" |
| 131 | + icon_path = str(package_path / "icon_open_matlab.svg") |
132 | 132 |
|
133 | 133 | expected_matlab_setup = { |
134 | 134 | "command": [matlab_proxy_manager.get_executable_name()], |
@@ -161,7 +161,7 @@ def test_setup_matlab_with_token_auth_disabled( |
161 | 161 | """ |
162 | 162 | # Setup |
163 | 163 | package_path = Path(inspect.getfile(jupyter_matlab_proxy)).parent |
164 | | - icon_path = package_path / "icon_open_matlab.svg" |
| 164 | + icon_path = str(package_path / "icon_open_matlab.svg") |
165 | 165 | monkeypatch.setattr(jupyter_matlab_proxy, "_mwi_auth_token", None) |
166 | 166 |
|
167 | 167 | expected_matlab_setup = { |
|
0 commit comments