Skip to content

Commit 6ff92ec

Browse files
committed
TST: drop quote in expected error string on windows for missing path
1 parent be0ca6c commit 6ff92ec

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_animation.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def test_disable_cache_warning(anim):
520520

521521
def test_movie_writer_invalid_path(anim):
522522
if sys.platform == "win32":
523-
match_str = r"\[WinError 3] .*'\\\\foo\\\\bar\\\\aardvark'"
523+
match_str = r"\[WinError 3] .*\\\\foo\\\\bar\\\\aardvark'"
524524
else:
525525
match_str = r"\[Errno 2] .*'/foo"
526526
with pytest.raises(FileNotFoundError, match=match_str):

0 commit comments

Comments
 (0)