File tree 1 file changed +3
-3
lines changed
1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -523,19 +523,19 @@ def test_no_fileno_stdout(self):
523
523
sys .stderr = os .fdopen (os .dup (2 ), closefd = True )
524
524
with sys .stdout , sys .stderr :
525
525
with T :
526
- self .assertEqual (len (T .context_stack ), 7 )
526
+ self .assertEqual (len (T .context_stack ), 8 )
527
527
# out & err point to fd 1 and 2
528
528
sys .stdout = os .fdopen (1 , closefd = False )
529
529
sys .stderr = os .fdopen (2 , closefd = False )
530
530
with sys .stdout , sys .stderr :
531
531
with T :
532
- self .assertEqual (len (T .context_stack ), 5 )
532
+ self .assertEqual (len (T .context_stack ), 6 )
533
533
# out & err have no fileno
534
534
sys .stdout = StringIO ()
535
535
sys .stderr = StringIO ()
536
536
with sys .stdout , sys .stderr :
537
537
with T :
538
- self .assertEqual (len (T .context_stack ), 5 )
538
+ self .assertEqual (len (T .context_stack ), 6 )
539
539
540
540
def test_capture_output_stack_error (self ):
541
541
OUT1 = StringIO ()
You can’t perform that action at this time.
0 commit comments