group tests into class
🚀 Feature
Now, we have quite extensive skip conditions for many tests which are mostly very similar to all test in a single file, so with grouping, we shall clearly mark some features/expectations
Motivation
reduce conditions so it easier to navigate
Pitch

  
    
      pytorch-lightning/tests/metrics/regression/test_ssim.py
    
    
        Lines 49 to 53
      in
      69123af
    
  
  
    

        
          
           @pytest.mark.parametrize( 
        

        
          
               "preds, target, multichannel", 
        

        
          
               [(i.preds, i.target, i.multichannel) for i in _inputs], 
        

        
          
           ) 
        

        
          
           class TestSSIM(MetricTester):