Skip to content

Commit 14faa80

Browse files
committed
Remove access of session slot on a client
This slot is no longer defined for a client.
1 parent 6ea306b commit 14faa80

File tree

1 file changed

+6
-7
lines changed

1 file changed

+6
-7
lines changed

test/jupyter-test.el

Lines changed: 6 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1902,14 +1902,13 @@ next(x"))))))
19021902
(ert-deftest jupyter-run-repl-issue-371 ()
19031903
:tags '(repl)
19041904
(jupyter-test-with-some-kernelspecs '("foo_qux" "qux" "bar_qux")
1905-
(let ((client))
1905+
(let ((client (jupyter-run-repl "qux")))
19061906
(unwind-protect
1907-
(progn
1908-
(setq client (jupyter-run-repl "qux"))
1909-
(should (equal (plist-get (jupyter-session-conn-info (oref client session))
1910-
:kernel_name)
1911-
"qux")))
1912-
(jupyter-test-kill-buffer (oref client buffer))))))
1907+
(should (equal (jupyter-kernelspec-name
1908+
(jupyter-kernel-action client
1909+
#'jupyter-kernel-spec))
1910+
"qux"))
1911+
(jupyter-test-kill-buffer (oref client buffer))))))
19131912

19141913
;;; `org-mode'
19151914

0 commit comments

Comments
 (0)