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 e9dd28b

Browse filesBrowse files
committed
Remove unused imports in tests.
1 parent 4a23d6f commit e9dd28b
Copy full SHA for e9dd28b

File tree

Expand file treeCollapse file tree

5 files changed

+1
-9
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+1
-9
lines changed

‎lib/matplotlib/sphinxext/tests/test_tinypages.py

Copy file name to clipboardExpand all lines: lib/matplotlib/sphinxext/tests/test_tinypages.py
-2Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/__init__.py
-3Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_backend_ps.py
-1Lines 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

Copy file name to clipboardExpand all lines: lib/matplotlib/tests/test_mlab.py
-1Lines 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

Copy file name to clipboardExpand all lines: lib/mpl_toolkits/tests/test_axes_grid1.py
+1-2Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.