diff --git a/src/borg/archiver.py b/src/borg/archiver.py index 06d8d0085..c84aa2142 100644 --- a/src/borg/archiver.py +++ b/src/borg/archiver.py @@ -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) diff --git a/src/borg/selftest.py b/src/borg/selftest.py index 2093b89a9..1426f3cbc 100644 --- a/src/borg/selftest.py +++ b/src/borg/selftest.py @@ -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