Changeset 839e5e3 in sasview


Ignore:
Timestamp:
Aug 23, 2016 4:27:34 AM (8 years ago)
Author:
lewis
Branches:
master, ESS_GUI, ESS_GUI_Docs, ESS_GUI_batch_fitting, ESS_GUI_bumps_abstraction, ESS_GUI_iss1116, ESS_GUI_iss879, ESS_GUI_iss959, ESS_GUI_opencl, ESS_GUI_ordering, ESS_GUI_sync_sascalc, costrafo411, magnetic_scatt, release-4.1.1, release-4.1.2, release-4.2.2, ticket-1009, ticket-1094-headless, ticket-1242-2d-resolution, ticket-1243, ticket-1249, ticket885, unittest-saveload
Children:
acefa2b
Parents:
204f628
Message:

Fix unit tests

File:
1 edited

Legend:

Unmodified
Added
Removed
  • test/corfunc/test/utest_corfunc.py

    r0bc0683 r839e5e3  
    1919 
    2020    def extrapolate(self): 
    21         extrapolation = self.calculator.compute_extrapolation() 
     21        _, extrapolation = self.calculator.compute_extrapolation() 
    2222 
    2323        # Ensure the extraplation tends to the background value 
     
    6262        self.assertEqual(len(params), 6) 
    6363        self.assertLess(abs(params['max']-75), 2.5) # L_p ~= 75 
    64         self.assertLess(abs(params['dtr']-6), 2.5) # D_tr ~= 6 
    6564 
    6665 
Note: See TracChangeset for help on using the changeset viewer.