We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 48a57d1 commit 75a32e3Copy full SHA for 75a32e3
test/test-helper.el
@@ -580,9 +580,8 @@ results instead of an equality match."
580
(save-window-excursion
581
(org-babel-execute-src-block nil info)
582
(when (equal (plist-get args :async) "yes")
583
- ;; Add a delay to try and ensure the last request of the
584
- ;; client has been completed.
585
- (sleep-for 0.2))
+ (when-let* ((req (jupyter-org-request-at-point)))
+ (jupyter-idle-sync req)))
586
(goto-char (or (org-babel-where-is-src-block-result) (point)))
587
(let ((element (org-element-context)))
588
;; Handle empty results with just a RESULTS keyword
0 commit comments