@@ -82,20 +82,20 @@ def test_flatten_respects_class_fixtures(self):
8282
8383 def test_conn_prep (self ):
8484 self .plugin .bind_host = None
85- ( parent_conn , child_conn ) = self .plugin ._prepConns ()
86- ( parent_pipe , child_pipe ) = multiprocessing .Pipe ()
85+ parent_conn , child_conn = self .plugin ._prepConns ()
86+ parent_pipe , child_pipe = multiprocessing .Pipe ()
8787 self .assertIsInstance (parent_conn , type (parent_pipe ))
8888 self .assertIsInstance (child_conn , type (child_pipe ))
8989
9090 self .plugin .bind_host = "127.0.0.1"
9191 self .plugin .bind_port = 0
92- ( parent_conn , child_conn ) = self .plugin ._prepConns ()
92+ parent_conn , child_conn = self .plugin ._prepConns ()
9393 self .assertIsInstance (parent_conn , connection .Listener )
9494 self .assertIsInstance (child_conn , tuple )
9595 self .assertEqual (parent_conn .address , child_conn [:2 ])
9696
9797 def test_conn_accept (self ):
98- ( parent_conn , child_conn ) = multiprocessing .Pipe ()
98+ parent_conn , child_conn = multiprocessing .Pipe ()
9999 self .assertEqual (self .plugin ._acceptConns (parent_conn ), parent_conn )
100100
101101 listener = connection .Listener (("127.0.0.1" , 0 ))
@@ -161,27 +161,23 @@ def test_dispatch_tests_receive_events(self):
161161 {
162162 "outcome" : "failed" ,
163163 "expected" : False ,
164- "metadata" : {
165- "stdout" : """\
164+ "metadata" : {"stdout" : """\
166165 -------------------- >> begin captured stdout << ---------------------
167166Hello stdout
168167
169- --------------------- >> end captured stdout << ----------------------"""
170- },
168+ --------------------- >> end captured stdout << ----------------------""" },
171169 },
172170 ),
173171 (
174172 "testOutcome" ,
175173 {
176174 "outcome" : "failed" ,
177175 "expected" : False ,
178- "metadata" : {
179- "stdout" : """\
176+ "metadata" : {"stdout" : """\
180177 -------------------- >> begin captured stdout << ---------------------
181178Hello stdout
182179
183- --------------------- >> end captured stdout << ----------------------"""
184- },
180+ --------------------- >> end captured stdout << ----------------------""" },
185181 },
186182 ),
187183 ("stopTest" , {}),
0 commit comments