File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change 11import subprocess
22
3+ import testlib
4+
35import mitogen .core
46import mitogen .parent
57from mitogen .core import b
68
7- import testlib
8-
99
1010class CommandLineTest (testlib .RouterMixin , testlib .TestCase ):
1111 # Ensure this version of Python produces a command line that is sufficient
@@ -35,15 +35,17 @@ def test_valid_syntax(self):
3535
3636 fp = open ("/dev/zero" , "r" )
3737 try :
38- proc = subprocess .Popen (args ,
38+ proc = subprocess .Popen (
39+ args ,
3940 stdin = fp ,
4041 stdout = subprocess .PIPE ,
4142 stderr = subprocess .PIPE ,
4243 )
4344 stdout , stderr = proc .communicate ()
4445 self .assertEqual (0 , proc .returncode )
45- self .assertEqual (stdout ,
46- mitogen .parent .BootstrapProtocol .EC0_MARKER + b ('\n ' ))
46+ self .assertEqual (
47+ stdout , mitogen .parent .BootstrapProtocol .EC0_MARKER + b ("\n " )
48+ )
4749 self .assertIn (
4850 b ("Error -3 while decompressing data" ), # Unknown compression method
4951 stderr ,
You can’t perform that action at this time.
0 commit comments