pyvenv
pyvenv copied to clipboard
Failed tests due to duplicated test name
(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)))