mirror of
https://github.com/borgbackup/borg.git
synced 2024-12-29 19:26:40 +00:00
Merge pull request #1182 from c4rlo/typo-fixes
typo fixes in comment+docstring
This commit is contained in:
commit
e41ef8471e
2 changed files with 2 additions and 2 deletions
|
@ -2158,7 +2158,7 @@ def main(): # pragma: no cover
|
|||
if os.path.basename(sys.argv[0]) == "borgfs":
|
||||
sys.argv.insert(1, "mount")
|
||||
|
||||
# Make sure stdout and stderr have errors='replace') to avoid unicode
|
||||
# Make sure stdout and stderr have errors='replace' to avoid unicode
|
||||
# issues when print()-ing unicode file names
|
||||
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, sys.stdout.encoding, 'replace', line_buffering=True)
|
||||
sys.stderr = io.TextIOWrapper(sys.stderr.buffer, sys.stderr.encoding, 'replace', line_buffering=True)
|
||||
|
|
|
@ -5,7 +5,7 @@
|
|||
The selftest() function runs a small test suite of relatively fast tests that are meant to discover issues
|
||||
with the way Borg was compiled or packaged and also bugs in Borg itself.
|
||||
|
||||
Theses tests are a subset of the borg/testsuite and are run with Pythons built-in unittest, hence none of
|
||||
These tests are a subset of the borg/testsuite and are run with Pythons built-in unittest, hence none of
|
||||
the tests used for this can or should be ported to py.test currently.
|
||||
|
||||
To assert that self test discovery works correctly the number of tests is kept in the SELFTEST_COUNT
|
||||
|
|
Loading…
Reference in a new issue