@@ -116,9 +116,6 @@ When non-nil only ‘test_foo()’ will match, and nothing else."
116116(defvar-local python-pytest--current-command nil
117117 " Current command; used in python-pytest-mode buffers." )
118118
119- (defvar-local python-pytest--verbosity-level 0
120- " Verbosity level." )
121-
122119(fmakunbound 'python-pytest-popup )
123120(makunbound 'python-pytest-popup )
124121
@@ -135,7 +132,7 @@ When non-nil only ‘test_foo()’ will match, and nothing else."
135132 (?q " quiet" " --quiet" )
136133 (?s " do not capture output" " --capture=no" )
137134 (?t " do not cut tracebacks" " --full-trace" )
138- (?v " verbose" python-pytest--cycle-verbosity )
135+ (?v " verbose" " --verbose " )
139136 (?x " exit after first failure" " --exitfirst" ))
140137 :options
141138 '((?k " only names matching expression" " -k" )
@@ -564,18 +561,6 @@ Example: ‘MyABCThingy.__repr__’ becomes ‘test_my_abc_thingy_repr’."
564561 (t nil )))
565562
566563
567- (defun python-pytest--cycle-verbosity ()
568- " Cycle the verbosity level from 0 (no -v flag) to 2 (-vv flag)."
569- (cond
570- ((memq python-pytest--verbosity '(0 1 ))
571- (setq python-pytest--verbosity (+ 1 python-pytest--verbosity)))
572- (t (setq python-pytest--verbosity 0 )))
573- (cond
574- ((= python-pytest--verbosity 0 ) " " )
575- ((= python-pytest--verbosity 1 ) " -v" )
576- ((= python-pytest--verbosity 2 ) " -vv" )))
577-
578-
579564; ; third party integration
580565
581566(with-eval-after-load 'direnv
0 commit comments