summaryrefslogtreecommitdiff
path: root/test/automated/generator-tests.el
diff options
context:
space:
mode:
Diffstat (limited to 'test/automated/generator-tests.el')
-rw-r--r--test/automated/generator-tests.el14
1 files changed, 0 insertions, 14 deletions
diff --git a/test/automated/generator-tests.el b/test/automated/generator-tests.el
index d9c81b59a23..96a68d1b9c1 100644
--- a/test/automated/generator-tests.el
+++ b/test/automated/generator-tests.el
@@ -260,20 +260,6 @@ identical output.
(iter-close iter)
(should (not cps-test-closed-flag)))))
-(ert-deftest cps-test-iter-close-finalizer ()
- (skip-unless gc-precise)
- (garbage-collect)
- (let ((cps-test-closed-flag nil))
- (let ((iter (funcall
- (iter-lambda ()
- (unwind-protect (iter-yield 1)
- (setf cps-test-closed-flag t))))))
- (should (equal (iter-next iter) 1))
- (should (not cps-test-closed-flag))
- (setf iter nil)
- (garbage-collect)
- (should cps-test-closed-flag))))
-
(ert-deftest cps-test-iter-cleanup-once-only ()
(let* ((nr-unwound 0)
(iter