pyvenv icon indicating copy to clipboard operation
pyvenv copied to clipboard

Failed tests due to duplicated test name

Open manphiz opened this issue 10 months ago • 0 comments

(Forwarded from https://bugs.debian.org/1052931)

Since Emacs 29.1 ERT doesn't allow reusing test names. The test in test/pyvenv-workon-home-test.el doesn't use its file name as test name but reused the one from test/pyvenv-hook-dir.el. The following patch renames the test name following the convention.

--- a/test/pyvenv-workon-home-test.el
+++ b/test/pyvenv-workon-home-test.el
@@ -1,4 +1,4 @@
-(ert-deftest pyvenv-hook-dir ()
+(ert-deftest pyvenv-workon-home ()
   ;; Else, should return WORKON_HOME
   (let ((process-environment (cons "WORKON_HOME=/workon_home"
                                    process-environment)))

manphiz avatar Sep 30 '23 01:09 manphiz