Skip to content

Commit

Permalink
Testing
Browse files Browse the repository at this point in the history
  • Loading branch information
dalthviz committed Mar 18, 2024
1 parent 072bdb2 commit 47eea3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion napari_console/_tests/test_qt_console.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ def actual_factory(*model_args, viewer_class=Viewer, **model_kwargs):
def test_console(qtbot, make_test_viewer):
"""Test creating the console."""
viewer = make_test_viewer()
style_sheet = viewer.window._qt_viewer.styleSheet()
style_sheet = viewer.window._qt_window.styleSheet()
console = QtConsole(viewer, style_sheet)
qtbot.addWidget(console)
assert console.kernel_client is not None
Expand Down

0 comments on commit 47eea3c

Please sign in to comment.