mirror of
https://github.com/pyenv/pyenv.git
synced 2026-08-04 03:20:35 +09:00
Fix typos in docs, scripts, and tests (#3490)
This commit is contained in:
parent
790bedd821
commit
e4c462dc70
@ -269,7 +269,7 @@ would be to make symlinks at the mirror's root:
|
|||||||
```
|
```
|
||||||
|
|
||||||
The rationale is to abstract away difference between directory structures of sites
|
The rationale is to abstract away difference between directory structures of sites
|
||||||
of various Python flavors and their occasional changes as well as to accomodate
|
of various Python flavors and their occasional changes as well as to accommodate
|
||||||
people who only wish to cache some select downloads. This also allows to mirror multiple sites at once.
|
people who only wish to cache some select downloads. This also allows to mirror multiple sites at once.
|
||||||
|
|
||||||
If the mirror being used does not have the same checksum (*e.g.* with a
|
If the mirror being used does not have the same checksum (*e.g.* with a
|
||||||
|
|||||||
@ -506,7 +506,7 @@ class CPythonExistingScriptsDirectory(KeyedList[_CPythonExistingScriptInfo, pack
|
|||||||
v = packaging.version.Version(entry_name)
|
v = packaging.version.Version(entry_name)
|
||||||
if v < CUTOFF_VERSION:
|
if v < CUTOFF_VERSION:
|
||||||
continue
|
continue
|
||||||
# branch tip scrpts are different from release scripts and thus unusable as a pattern
|
# branch tip scripts are different from release scripts and thus unusable as a pattern
|
||||||
if v.dev is not None:
|
if v.dev is not None:
|
||||||
continue
|
continue
|
||||||
logger.debug(f"Existing version {v}")
|
logger.debug(f"Existing version {v}")
|
||||||
@ -748,5 +748,5 @@ if __name__ == "__main__":
|
|||||||
try:
|
try:
|
||||||
sys.exit(main())
|
sys.exit(main())
|
||||||
except Exception:
|
except Exception:
|
||||||
logging.exception("Unhandled exception occured")
|
logging.exception("Unhandled exception occurred")
|
||||||
sys.exit(2)
|
sys.exit(2)
|
||||||
|
|||||||
@ -181,7 +181,7 @@ exit
|
|||||||
assert_success "version=3.4.2"
|
assert_success "version=3.4.2"
|
||||||
}
|
}
|
||||||
|
|
||||||
@test "skip advice supresses error messages" {
|
@test "skip advice suppresses error messages" {
|
||||||
bats_require_minimum_version 1.5.0
|
bats_require_minimum_version 1.5.0
|
||||||
create_alt_executable_in_version "2.7" "python"
|
create_alt_executable_in_version "2.7" "python"
|
||||||
create_alt_executable_in_version "3.3" "py.test"
|
create_alt_executable_in_version "3.3" "py.test"
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user