@@ -108,19 +108,19 @@ def test_DirsOnSysPath(self):
108108 self .assertNotIn ("bar" , sys .path )
109109
110110 def test_captured_stdout (self ):
111- with support .captured_stdout () as s :
112- print ("hello" )
113- self .assertEqual (s .getvalue (), "hello\n " )
111+ with support .captured_stdout () as s :
112+ print ("hello" )
113+ self .assertEqual (s .getvalue (), "hello\n " )
114114
115115 def test_captured_stderr (self ):
116- with support .captured_stderr () as s :
117- print ("hello" , file = sys .stderr )
118- self .assertEqual (s .getvalue (), "hello\n " )
116+ with support .captured_stderr () as s :
117+ print ("hello" , file = sys .stderr )
118+ self .assertEqual (s .getvalue (), "hello\n " )
119119
120120 def test_captured_stdin (self ):
121- with support .captured_stdin () as s :
122- print ("hello" , file = sys .stdin )
123- self .assertEqual (s .getvalue (), "hello\n " )
121+ with support .captured_stdin () as s :
122+ print ("hello" , file = sys .stdin )
123+ self .assertEqual (s .getvalue (), "hello\n " )
124124
125125 def test_gc_collect (self ):
126126 support .gc_collect ()
@@ -175,4 +175,3 @@ def test_main():
175175
176176if __name__ == '__main__' :
177177 test_main ()
178-
0 commit comments