File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -267,7 +267,7 @@ def test_temp_dir__existing_dir__quiet_true(self):
267267
268268 self .assertListEqual (warnings , [])
269269 self .assertEqual (len (caplog .records ), 1 )
270- record , = caplog .records
270+ record = caplog .records [ 0 ]
271271 self .assertStartsWith (
272272 record .getMessage (),
273273 f'tests may fail, unable to create '
@@ -340,7 +340,7 @@ def test_change_cwd__non_existent_dir__quiet_true(self):
340340
341341 self .assertListEqual (warnings , [])
342342 self .assertEqual (len (caplog .records ), 1 )
343- record , = caplog .records
343+ record = caplog .records [ 0 ]
344344 self .assertStartsWith (
345345 record .getMessage (),
346346 f'tests may fail, unable to change '
@@ -360,7 +360,7 @@ def test_change_cwd__chdir_warning(self):
360360
361361 self .assertListEqual (messages , [])
362362 self .assertEqual (len (caplog .records ), 1 )
363- record , = caplog .records
363+ record = caplog .records [ 0 ]
364364 self .assertStartsWith (
365365 record .getMessage (),
366366 f'tests may fail, unable to change '
You can’t perform that action at this time.
0 commit comments