Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 85eef19

Browse filesBrowse files
committed
MNT: fix test version check
1 parent 2bb34e5 commit 85eef19
Copy full SHA for 85eef19

File tree

Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+3
-4
lines changed

‎lib/matplotlib/tests/test_animation.py

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_animation.py
+3-4Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
import sys
55

66
import numpy as np
7+
from pathlib import Path
78
import pytest
89

910
import matplotlib as mpl
@@ -123,10 +124,8 @@ def isAvailable(cls):
123124
('html', 'movie.html'),
124125
('null', 'movie.null')
125126
]
126-
if sys.version_info >= (3, 6):
127-
from pathlib import Path
128-
WRITER_OUTPUT += [
129-
(writer, Path(output)) for writer, output in WRITER_OUTPUT]
127+
WRITER_OUTPUT += [
128+
(writer, Path(output)) for writer, output in WRITER_OUTPUT]
130129

131130

132131
# Smoke test for saving animations. In the future, we should probably

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.