Skip to content

Commit 12a8b29

Browse files
committed
Remove unused imports in tests.
1 parent 5c0043a commit 12a8b29

File tree

5 files changed

+1
-9
lines changed

5 files changed

+1
-9
lines changed

lib/matplotlib/sphinxext/tests/test_tinypages.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,8 +7,6 @@
77

88
import pytest
99

10-
from matplotlib import cbook
11-
1210

1311
pytest.importorskip('sphinx')
1412

lib/matplotlib/tests/__init__.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,5 @@
11
import os
22

3-
from matplotlib import cbook
4-
from matplotlib.testing import setup
5-
63

74
# Check that the test directories exist
85
if not os.path.exists(os.path.join(

lib/matplotlib/tests/test_backend_ps.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
import re
55
import tempfile
66

7-
import numpy as np
87
import pytest
98

109
import matplotlib

lib/matplotlib/tests/test_mlab.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
import pytest
1010

1111
import matplotlib.mlab as mlab
12-
import matplotlib.cbook as cbook
1312
from matplotlib.cbook.deprecation import MatplotlibDeprecationWarning
1413

1514

lib/mpl_toolkits/tests/test_axes_grid1.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@
1616
AnchoredDirectionArrows)
1717

1818
from matplotlib.colors import LogNorm
19-
from matplotlib.transforms import Bbox, TransformedBbox, \
20-
blended_transform_factory
19+
from matplotlib.transforms import Bbox, TransformedBbox
2120
from itertools import product
2221

2322
import pytest

0 commit comments

Comments
 (0)