File tree Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Expand file tree Collapse file tree 2 files changed +9
-10
lines changed Original file line number Diff line number Diff line change 1- from  logging  import  getLogger 
2- 
3- logger  =  getLogger (__name__ )
4- logger .setLevel ("INFO" )
5- 
1+ from  sklearn .utils .estimator_checks  import  parametrize_with_checks 
62def  test_import ():
73    import  radius_clustering  as  rad 
84
95
106def  test_from_import ():
117    from  radius_clustering  import  RadiusClustering 
128
13- def  test_check_estimator_api_consistency ():
14-     from  radius_clustering  import  RadiusClustering 
15-     from  sklearn .utils .estimator_checks  import  check_estimator 
169
17-     # Check the API consistency of the RadiusClustering estimator 
18-     check_estimator (RadiusClustering ())
10+ from  radius_clustering  import  RadiusClustering 
11+ 
12+ @parametrize_with_checks ([RadiusClustering ()]) 
13+ def  test_check_estimator_api_consistency (estimator , check , request ):
14+ 
15+     """Check the API consistency of the RadiusClustering estimator 
16+     """ 
17+     check (estimator )
    
 
   
 
     
   
   
          
     
  
    
     
 
    
      
     
 
     
    You can’t perform that action at this time.
  
 
    
  
     
    
      
        
     
 
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments