Skip to content

Commit 92905bf

Browse files
committed
Rename old python-environment-root in test code
1 parent ee813a0 commit 92905bf

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

test-python-environment.el

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@
3434
(indent 0))
3535
(let ((path (make-symbol "path")))
3636
`(let* ((,path (make-temp-file "pye-test-" t))
37-
(python-environment-root ,path))
37+
(python-environment-directory ,path))
3838
(unwind-protect
3939
(progn ,@body)
4040
(delete-directory ,path t)))))
4141

4242
(defmacro pye-deftest (name args &rest body)
43-
"Customized `ert-deftest'. Bind `python-environment-root' to a
43+
"Customized `ert-deftest'. Bind `python-environment-directory' to a
4444
temporary directory while executing BODY."
4545
(declare (debug (&define :name test
4646
name sexp [&optional stringp]
@@ -146,7 +146,7 @@ DUMMY-MESSAGE (SYNC)...Done
146146
(should-error (pye-eval-in-subprocess '(error "some error"))))
147147

148148
(pye-deftest pye-test-bare-make-environment ()
149-
(let ((tmp-home python-environment-root))
149+
(let ((tmp-home python-environment-directory))
150150
(pye-eval-in-subprocess '(deferred:sync! (python-environment-make))
151151
`(("HOME" ,tmp-home)))
152152
(should (file-directory-p (expand-file-name

0 commit comments

Comments
 (0)