File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -137,7 +137,7 @@ def reset_deterministic_algorithm():
137137    torch .use_deterministic_algorithms (False )
138138
139139
140- @pytest .fixture (autouse = True ) 
140+ @pytest .fixture (scope = "session" ,  autouse = True ) 
141141def  cleanup_lightning_ports ():
142142    """Delete Lightning deterministic port files after all tests.""" 
143143    from  lightning .fabric .plugins .environments .lightning  import  LOCK_FILE 
Original file line number Diff line number Diff line change @@ -139,7 +139,7 @@ def reset_deterministic_algorithm():
139139    torch .use_deterministic_algorithms (False )
140140
141141
142- @pytest .fixture (autouse = True ) 
142+ @pytest .fixture (scope = "session" ,  autouse = True ) 
143143def  cleanup_lightning_ports ():
144144    """Delete Lightning deterministic port files after all tests.""" 
145145    from  lightning .fabric .plugins .environments .lightning  import  LOCK_FILE 
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments