Skip to content

Commit 15764cf

Browse files
committed
Fix unit tests on systems without Qt
Re matplotlib#19075
1 parent 79f3385 commit 15764cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/matplotlib/tests/test_backend_qt.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66
import matplotlib
77
from matplotlib import pyplot as plt
88
from matplotlib._pylab_helpers import Gcf
9-
from matplotlib.backends.qt_editor import _formlayout
109

1110
import pytest
1211

@@ -16,6 +15,7 @@
1615
except ImportError:
1716
pytestmark = pytest.mark.skip('No usable Qt5 bindings')
1817
from matplotlib.backends.qt_compat import QtWidgets
18+
from matplotlib.backends.qt_editor import _formlayout
1919

2020

2121
@pytest.fixture

0 commit comments

Comments
 (0)