Changeset 2668 for trunk


Ignore:
Timestamp:
10/17/12 11:23:34 (12 years ago)
Author:
Takeshi Nakazato
Message:

New Development: No

JIRA Issue: No

Ready for Test: Yes

Interface Changes: No

What Interface Changed: Please list interface changes

Test Programs: List test programs

Put in Release Notes: Yes/No

Module(s): Module Names change impacts.

Description: Describe your changes here...

Fixed test failure in nrofiller. Reference value is changed
due to the changes in channel-frequency calculation in NRO filler.
Also, all the scantable objects are deleted before exit to clean
up all tempolary tables that are created when test is executed
with scantable.storage='disk'.


File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/test/test_nrofiller.py

    r2659 r2668  
    2424        s.set_selection(sel)
    2525        self.st = s.copy()
     26        del s
     27
     28    def tearDown(self):
     29        del self.st
    2630
    2731    def test_init(self):
     
    4852
    4953    def test_frequency(self):
    50         raise SkipTest("Currently disabled")
    5154        rf=self.st.get_restfreqs()
    5255        assert_equal(len(rf),2)
     
    5558        self.st.set_unit('GHz')
    5659        abc=self.st._getabcissa(0)
    57         assert_equal(abc[0],85.17337639557438)
     60        assert_equal(abc[0],85.183349020848283)
Note: See TracChangeset for help on using the changeset viewer.