mirror of
https://github.com/vale981/emacs-jupyter
synced 2025-03-05 07:41:37 -05:00
Make jupyter-write-connection-file
test more reliable
This commit is contained in:
parent
7945b6f444
commit
3f0a4b7829
1 changed files with 3 additions and 0 deletions
|
@ -656,6 +656,9 @@
|
|||
(should-not (equal kill-emacs-hook hook))
|
||||
(setq fun (car (cl-set-difference kill-emacs-hook hook)))
|
||||
(should-not (memq fun hook)))
|
||||
(let ((table (make-hash-table)))
|
||||
(dotimes (_ gc-cons-threshold)
|
||||
(puthash (random) t table)))
|
||||
(garbage-collect)
|
||||
(garbage-collect)
|
||||
(garbage-collect)
|
||||
|
|
Loading…
Add table
Reference in a new issue