示例#1
0
 def _testExceptionWithLast(self, test_str, last):
     r = RangesList(test_str)
     with self.assertRaises(KittyException):
         r.set_last(last)
示例#2
0
 def _testSimpleWithLast(self, test_str, expected_list, last):
     r = RangesList(test_str)
     r.set_last(last)
     self._do_tests(r, expected_list)