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

Appearance settings

Commit b5c3ca4

Browse filesBrowse 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 parent cf9243a commit b5c3ca4
Copy full SHA for b5c3ca4

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed

‎test/test_installation.py

Copy file name to clipboardExpand all lines: test/test_installation.py
+2-2Lines 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.stderr or result.stdout or "Selftest failed",
48+
msg=result.stderr or result.stdout or "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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.