Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2bb34e5 commit 85eef19Copy full SHA for 85eef19
1 file changed
lib/matplotlib/tests/test_animation.py
@@ -4,6 +4,7 @@
4
import sys
5
6
import numpy as np
7
+from pathlib import Path
8
import pytest
9
10
import matplotlib as mpl
@@ -123,10 +124,8 @@ def isAvailable(cls):
123
124
('html', 'movie.html'),
125
('null', 'movie.null')
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]
+WRITER_OUTPUT += [
+ (writer, Path(output)) for writer, output in WRITER_OUTPUT]
130
131
132
# Smoke test for saving animations. In the future, we should probably
0 commit comments