message: revisions to test
diff: @@ -106,15 +106,12 @@ class TestArrowFetchRecordBatch(object):
  chunk = record_batch_reader.read_all()
  assert(len(chunk) == 2048)
  - def test_record_batch_query_error(self, duckdb_cursor):
  + def test_record_batch_query_error(self):
  if not can_run:
  return
  duckdb_cursor = duckdb.connect()
  duckdb_cursor.execute("CREATE table t as select 'foo' as a;")
  query = duckdb_cursor.execute("SELECT cast(a as double) FROM t")
  record_batch_reader = query.fetch_record_batch(1024)
  - try:
  - chunk = record_batch_reader.read_next_batch()
  - assert(False)
  - except Exception as e:
  - assert('Conversion Error' in str(e))
  + with pytest.raises(RuntimeError, match='Conversion Error'):
  + record_batch_reader.read_next_batch()
  