MCPcopy Create free account
hub / github.com/ipython/ipython / test_qt_gtk

Method test_qt_gtk

IPython/core/tests/test_pylabtools.py:237–245  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

235 nt.assert_not_in(Figure, f)
236
237 def test_qt_gtk(self):
238 s = self.Shell()
239 gui, backend = s.enable_matplotlib('qt')
240 nt.assert_equal(gui, 'qt')
241 nt.assert_equal(s.pylab_gui_select, 'qt')
242
243 gui, backend = s.enable_matplotlib('gtk')
244 nt.assert_equal(gui, 'qt')
245 nt.assert_equal(s.pylab_gui_select, 'qt')
246
247
248def test_no_gui_backends():

Callers

nothing calls this directly

Calls 1

enable_matplotlibMethod · 0.80

Tested by

no test coverage detected