Skip to content

Commit 0031c6c

Browse files
committed
MNT: fix test version check
1 parent 2bb34e5 commit 0031c6c

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

lib/matplotlib/tests/test_animation.py

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -123,10 +123,9 @@ def isAvailable(cls):
123123
('html', 'movie.html'),
124124
('null', 'movie.null')
125125
]
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]
126+
from pathlib import Path
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)