Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitb5c3ca4

Browse files
committed
Slightly improve readability of installation-test strings
This modifies content of the strings themselves, but only slightly.- Make an exception message more readable.- Improve spacing of the "python -c" script string in the sys.path test.
1 parentcf9243a commitb5c3ca4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

‎test/test_installation.py‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def test_installation(self, rw_dir):
4545
self.assertEqual(
4646
0,
4747
result.returncode,
48-
msg=result.stderrorresult.stdoutor"Selftest failed",
48+
msg=result.stderrorresult.stdoutor"Self-test failed",
4949
)
5050

5151
result=subprocess.run(
@@ -63,7 +63,7 @@ def test_installation(self, rw_dir):
6363
# by inserting its location into PYTHONPATH or otherwise patched into
6464
# sys.path, make sure it is not wrongly inserted as the *first* entry.
6565
result=subprocess.run(
66-
[self.python,"-c","import sys;import git; print(sys.path)"],
66+
[self.python,"-c","import sys;import git; print(sys.path)"],
6767
stdout=subprocess.PIPE,
6868
cwd=self.sources,
6969
)

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp