##// END OF EJS Templates
Formatting
Emilio Graff -
Show More
@@ -114,6 +114,7 b' def set_qt_api(gui):'
114 return None
114 return None
115 # Import it now so we can figure out which version it is.
115 # Import it now so we can figure out which version it is.
116 from IPython.external.qt_for_kernel import QT_API
116 from IPython.external.qt_for_kernel import QT_API
117
117 return qt_env2gui[QT_API]
118 return qt_env2gui[QT_API]
118
119
119
120
@@ -34,7 +34,7 b' _get_qt_vers()'
34 )
34 )
35 def test_inputhook_qt():
35 def test_inputhook_qt():
36 # Choose the "best" Qt version.
36 # Choose the "best" Qt version.
37 gui_ret, _ = get_inputhook_name_and_func('qt')
37 gui_ret, _ = get_inputhook_name_and_func("qt")
38
38
39 assert gui_ret != "qt" # you get back the specific version that was loaded.
39 assert gui_ret != "qt" # you get back the specific version that was loaded.
40 assert gui_ret in guis_avail
40 assert gui_ret in guis_avail
General Comments 0
You need to be logged in to leave comments. Login now