- Timestamp:
- 08/04/10 12:35:08 (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/test/test_scantable.py
r1842 r1844 180 180 assert_almost_equal(q1.stats(stat='max')[0], 2.66563416) 181 181 182 183 182 @with_setup(tempdir_setup, tempdir_teardown) 184 183 def test_save(self): … … 196 195 fname = args[0] 197 196 self.st.save(fname, args[1], True) 197 # do some verification args[2] == True 198 198 if args[-1]: 199 199 s = scantable(fname) … … 203 203 assert_equals(self.st.getifnos(), s.getifnos()) 204 204 assert_equals(self.st.getbeamnos(), s.getbeamnos()) 205 # see if the residual spectra are ~ 0.0 205 206 for spec in ds: 206 207 assert_almost_equals(sum(spec)/len(spec), 0.0, 5)
Note:
See TracChangeset
for help on using the changeset viewer.