From be0ca6c07917b08cfbb76c0109b8e3e45f005855 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Tue, 14 Jan 2025 21:23:32 -0500 Subject: [PATCH 1/2] CI: add py312 and py313 on windows on azure to test matrix --- azure-pipelines.yml | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/azure-pipelines.yml b/azure-pipelines.yml index eed605cd32b6..fff14a1819d6 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -55,6 +55,12 @@ stages: Windows_py311: vmImage: 'windows-latest' python.version: '3.11' + Windows_py312: + vmImage: 'windows-latest' + python.version: '3.12' + Windows_py313: + vmImage: 'windows-latest' + python.version: '3.13' maxParallel: 4 pool: vmImage: '$(vmImage)' From 6ff92ec80aed65f126be1ecbbf56ab1db6842097 Mon Sep 17 00:00:00 2001 From: Thomas A Caswell Date: Thu, 16 Jan 2025 20:43:51 -0500 Subject: [PATCH 2/2] TST: drop quote in expected error string on windows for missing path --- lib/matplotlib/tests/test_animation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/matplotlib/tests/test_animation.py b/lib/matplotlib/tests/test_animation.py index 6a9f31733fca..a2b35f802c78 100644 --- a/lib/matplotlib/tests/test_animation.py +++ b/lib/matplotlib/tests/test_animation.py @@ -520,7 +520,7 @@ def test_disable_cache_warning(anim): def test_movie_writer_invalid_path(anim): if sys.platform == "win32": - match_str = r"\[WinError 3] .*'\\\\foo\\\\bar\\\\aardvark'" + match_str = r"\[WinError 3] .*\\\\foo\\\\bar\\\\aardvark'" else: match_str = r"\[Errno 2] .*'/foo" with pytest.raises(FileNotFoundError, match=match_str):