code: def test_append_on_new_day(self):
      sid = 1
  
      ohlcv = {
          "open": [2.0],
          "high": [3.0],
          "low": [1.0],
          "close": [2.0],
          "volume": [10.0],
      }
  
      dt = self.market_opens[TEST_CALENDAR_STOP]
      data = DataFrame(data=ohlcv, index=[dt])
      self.writer.write_sid(sid, data)
  
      # Open a new writer to cover `open` method, also a common usage
      # of appending new days will be writing to an existing directory.
      cday = self.trading_calendar.schedule.index.freq
      new_end_session = TEST_CALENDAR_STOP + cday
      writer = BcolzExchangeBarWriter.open(self.dest, new_end_session)
      next_day_minute = dt + cday
      new_data = DataFrame(data=ohlcv, index=[next_day_minute])
      writer.write_sid(sid, new_data)
  
      # Get a new reader to test updated calendar.
      reader = BcolzExchangeBarReader(self.dest)
  
      second_minute = dt + Timedelta(minutes=1)
  
      # The second minute should have been padded with zeros
      for col in ("open", "high", "low", "close"):
          assert_almost_equal(
              nan, reader.get_value(sid, second_minute, col)
          )
      self.assertEqual(
          0, reader.get_value(sid, second_minute, "volume")
      )
  
      # The next day minute should have data.
      for col in ("open", "high", "low", "close", "volume"):
          assert_almost_equal(
              ohlcv[col], reader.get_value(sid, next_day_minute, col)
          )
  
imports: from datetime import timedelta
  import os
  from numpy import arange, array, int64, float64, full, nan, transpose, zeros
  from numpy.testing import assert_almost_equal, assert_array_equal
  from pandas import DataFrame, DatetimeIndex, Timestamp, Timedelta, NaT, date_range
  from catalyst.data.minute_bars import BcolzMinuteBarMetadata, BcolzMinuteOverlappingData, US_EQUITIES_MINUTES_PER_DAY, BcolzMinuteWriterColumnMismatch, H5MinuteBarUpdateWriter, H5MinuteBarUpdateReader
  from catalyst.exchange.exchange_bcolz import BcolzExchangeBarWriter, BcolzExchangeBarReader
  from catalyst.testing.fixtures import WithAssetFinder, WithInstanceTmpDir, WithTradingCalendars, CatalystTestCase
label_desc: Use image node_id 12 for calling the BcolzMinuteBarTestCase obj's underlying member method code with example usage: obj.test_append_on_new_day() without return types