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

Commit0c6e670

Browse files
Xavier VergesByron
Xavier Verges
authored andcommitted
Keep flake happy
1 parent4ba76d6 commit0c6e670

File tree

1 file changed

+5
-3
lines changed

1 file changed

+5
-3
lines changed

‎test/test_installation.py

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,8 +28,10 @@ def test_installation(self, rw_dir):
2828
self.assertEqual(0,result.returncode,msg=result.stderrorresult.stdoutor"Can't build - setup.py failed")
2929
result=subprocess.run([self.python,'-c','import git'],stdout=subprocess.PIPE,cwd=self.sources)
3030
self.assertEqual(0,result.returncode,msg=result.stderrorresult.stdoutor"Selftest failed")
31-
result=subprocess.run([self.python,'-c','import sys;import git; print(sys.path)'],stdout=subprocess.PIPE,cwd=self.sources)
32-
syspath=result.stdout.decode('utf-8').splitlines()[0]
31+
result=subprocess.run([self.python,'-c','import sys;import git; print(sys.path)'],
32+
stdout=subprocess.PIPE,cwd=self.sources)
33+
syspath=result.stdout.decode('utf-8').splitlines()[0]
3334
syspath=ast.literal_eval(syspath)
34-
self.assertEqual('',syspath[0],msg='Failed to follow the conventions for https://docs.python.org/3/library/sys.html#sys.path')
35+
self.assertEqual('',syspath[0],
36+
msg='Failed to follow the conventions for https://docs.python.org/3/library/sys.html#sys.path')
3537
self.assertTrue(syspath[1].endswith('gitdb'),msg='Failed to add gitdb to sys.path')

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp