File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -2274,6 +2274,7 @@ def test_range_of_offsets(self):
22742274                    self .assertIn (expected , err .getvalue ())
22752275                    the_exception  =  exc 
22762276
2277+     @force_not_colorized  
22772278    def  test_subclass (self ):
22782279        class  MySyntaxError (SyntaxError ):
22792280            pass 
Original file line number Diff line number Diff line change 11import  io 
22import  sys 
33import  textwrap 
4- 
5- from  test .support  import  warnings_helper , captured_stdout 
6- 
74import  traceback 
85import  unittest 
96from  unittest .util  import  strclass 
10- from  test .support  import  force_not_colorized 
7+ from  test .support  import  warnings_helper 
8+ from  test .support  import  (
9+     captured_stdout ,
10+     force_not_colorized ,
11+     force_not_colorized_test_class ,
12+ )
1113from  test .test_unittest .support  import  BufferedWriter 
1214
1315
@@ -772,6 +774,7 @@ def testFoo(self):
772774        runner .run (Test ('testFoo' ))
773775
774776
777+ @force_not_colorized_test_class  
775778class  TestOutputBuffering (unittest .TestCase ):
776779
777780    def  setUp (self ):
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments