def actual_read(file_path, **kwargs):
     with patch("eddington.fitting_data.open", m_open):
         return FittingData.read_from_json(file_path, **kwargs)
Beispiel #2
0
 def read_method(**kwargs):
     return FittingData.read_from_json(file_path, **kwargs)