Uploaded image for project: 'DRP 1D pipeline'
  1. DRP 1D pipeline
  2. PIPE1D-15

[drp_1dpipe] test failed on 0.14.0

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done (View Workflow)
    • Priority: Normal
    • Resolution: Done
    • Component/s: None
    • Labels:
      None

      Description

      =============================================================================================================== FAILURES ================================================================================================================
      ______________________________________________________________________________________________________________ test_writer ______________________________________________________________________________________________________________
                                                                                                                          
          def test_writer():   
              fd = TemporaryDirectory()                         
      >       fname = write_candidates(fd.name, 0, 1, '1,1', 2, 3, 4, [], [], [], np.array([]), [])                       
      E       TypeError: write_candidates() missing 1 required positional argument: 'object_class'                        
                                                                
      drp_1dpipe/tests/test_io.py:28: TypeError
      =========================================================================================================== warnings summary ============================================================================================================
      drp_1dpipe/tests/test_spectrum_results.py::test_lambda_ranges                                                       
        /Users/pychabau/App/miniconda3/envs/pfsdev/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
          return f(*args, **kwds)                                                                                                                                                                                                              
        /Users/pychabau/App/miniconda3/envs/pfsdev/lib/python3.7/importlib/_bootstrap.py:219: RuntimeWarning: numpy.ufunc size changed, may indicate binary incompatibility. Expected 192 from C header, got 216 from PyObject
          return f(*args, **kwds)                                                                                                                                                                                                              
                                                                                                                                                                                                                                               
      -- Docs: https://docs.pytest.org/en/latest/warnings.html                                                                                                                                                                                 
      ============================================================================================ 1 failed, 34 passed, 2 warnings in 7.22 seconds ============================================================================================
      
      

        Attachments

          Activity

            People

            • Assignee:
              pychabau Pierre-Yves CHABAUD
              Reporter:
              pychabau Pierre-Yves CHABAUD
              Reviewers:
              Pierre-Yves CHABAUD
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: