def test_multiline(self):
        table = [
            ['a', 'b'],
            ['1', 'foo\nbar']
        ]
        fcr = FilteringCSVReader(iter(table), patterns={'b': re.compile('bar')})
        self.assertEqual(table[0], next(fcr))
        self.assertEqual(table[1], next(fcr))
        try:
            next(fcr)
            self.fail("Should be no more rows left.")
        except __HOLE__:
            pass
dataset/ETHPy150Open wireservice/csvkit/tests/test_grep.py/TestGrep.test_multiline