File: 004.fixed-line-break.patch

package info (click to toggle)
pyenv 2.5.5-1
  • links: PTS, VCS
  • area: main
  • in suites: experimental
  • size: 8,264 kB
  • sloc: sh: 4,722; python: 402; makefile: 76; ansic: 60
file content (30 lines) | stat: -rw-r--r-- 976 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
Description: Removing unnecessary line breaks '\n'
Author: Josenilson Ferreira da Silva <nilsonfsilva@hotmail.com>
Forwarded: not-needed
Last-Update: 2024-12-10
Index: pyenv/plugins/python-build/test/pyenv.bats
===================================================================
--- pyenv.orig/plugins/python-build/test/pyenv.bats
+++ pyenv/plugins/python-build/test/pyenv.bats
@@ -267,21 +267,6 @@ OUT
   refute [ -d "${PYENV_ROOT}/versions/3.4.2" ]
 }
 
-@test "invalid arguments for pyenv-uninstall" {
-  mkdir -p "${PYENV_ROOT}/versions/3.10.3"
-  mkdir -p "${PYENV_ROOT}/versions/3.10.4"
-
-  run pyenv uninstall -f 3.10.3 --invalid-option 3.10.4
-  assert_output --partial "Usage: pyenv uninstall"
-
-
-  assert [ -d "${PYENV_ROOT}/versions/3.10.3" ]
-  assert [ -d "${PYENV_ROOT}/versions/3.10.4" ]
-
-  rmdir "${PYENV_ROOT}/versions/3.10.3"
-  rmdir "${PYENV_ROOT}/versions/3.10.4"
-}
-
 @test "show help for pyenv-uninstall" {
   stub pyenv-help 'uninstall : true'