'should allow both block fns and limit, offset'

def test_block_filter_fn_w_limit_offset(self):

    def is_not_indented(line):
        strip_diff = (len(line) - len(line.lstrip()))
        return (strip_diff == 0)
    def empty_block(block):
        if (len(block) <= 1):
            return None
        return block
    (contents, provider, data) = self.contents_provider_and_data(strip_lines=False, strip_newlines=True, new_block_delim_fn=is_not_indented, block_filter_fn=empty_block, limit=1)
    self.assertEqual(data, [['One', '                ABCD']])
    self.assertCounters(provider, 1, 1, 1)
    (contents, provider, data) = self.contents_provider_and_data(strip_lines=False, strip_newlines=True, new_block_delim_fn=is_not_indented, block_filter_fn=empty_block, limit=2, offset=1)
    self.assertEqual(data, [['Two', '                ABCD', '                EFGH']])
    self.assertCounters(provider, 3, 2, 1)
