File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change 11import  math 
22
3- import  pytest 
43import  numpy  as  np 
4+ import  pytest 
55from  scipy .spatial  import  ConvexHull 
66
77from  adaptive .learner  import  LearnerND 
@@ -60,9 +60,10 @@ def test_learnerND_log_works():
6060
6161@pytest .mark .skipif (not  with_pandas , reason = "pandas is not installed" ) 
6262def  test_learnerND_resume_after_loading_dataframe_convex_hull (monkeypatch ):
63-     import  pandas 
6463    from  types  import  MethodType 
6564
65+     import  pandas 
66+ 
6667    hull_points  =  [
6768        (4.375872112626925 , 8.917730007820797 ),
6869        (4.236547993389047 , 6.458941130666561 ),
@@ -98,7 +99,9 @@ def some_f(xy):
9899
99100    def  old_ask_bound_point (self ):
100101        new_point  =  next (
101-             p  for  p  in  self ._bounds_points  if  p  not  in self .data  and  p  not  in self .pending_points 
102+             p 
103+             for  p  in  self ._bounds_points 
104+             if  p  not  in self .data  and  p  not  in self .pending_points 
102105        )
103106        self .tell_pending (new_point )
104107        return  new_point , np .inf 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments