Ignore:
Timestamp:
Feb 25, 2009, 9:37:22 AM (15 years ago)
Author:
rwilson
Message:

numpy changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/numpy/anuga/utilities/test_system_tools.py

    r6360 r6410  
    159159    def test_clean_line_04(self):
    160160        self.clean_line_test('abc, ,,xyz,123, ', ',',
    161                              ['abc', '', 'xyz', '123', ''])
     161                             ['abc', '', 'xyz', '123'])
    162162
    163163    def test_clean_line_05(self):
    164164        self.clean_line_test('abc, ,,xyz,123, ,    ', ',',
    165                              ['abc', '', 'xyz', '123', '', ''])
     165                             ['abc', '', 'xyz', '123', ''])
    166166
    167167    def test_clean_line_06(self):
    168168        self.clean_line_test(',,abc, ,,xyz,123, ,    ', ',',
    169                              ['abc', '', 'xyz', '123', '', ''])
     169                             ['abc', '', 'xyz', '123', ''])
    170170
    171171    def test_clean_line_07(self):
     
    174174    def test_clean_line_08(self):
    175175        self.clean_line_test(' ,a,, , ,b,c , ,, , ', ',',
    176                              ['', 'a', '', '', 'b', 'c', '', '', ''])
     176                             ['a', '', '', 'b', 'c', '', ''])
    177177
    178178    def test_clean_line_09(self):
     
    181181    def test_clean_line_10(self):
    182182        self.clean_line_test('a:b:c:', ':', ['a', 'b', 'c'])
    183 
    184     # new version of function should leave last field if contains '\n'.
    185     # cf. test_clean_line_10() above.
    186     def test_clean_line_11(self):
    187         self.clean_line_test('a:b:c:\n', ':', ['a', 'b', 'c', ''])
    188183
    189184################################################################################
Note: See TracChangeset for help on using the changeset viewer.