def METHOD_NAME(self):
    logging.getLogger().setLevel(logging.DEBUG)
    now = datetime.datetime.now()
    current_working_directory = os.getcwd()
    data_dir = os.path.join(current_working_directory, "__Test")
    Cache.db_make_directory_if_needed(data_dir)
    try:
        h = NDataHandler.NDataHandler(os.path.join(data_dir, "abc.ndata"))
        with contextlib.closing(h):
            data = numpy.random.randint(0, 10, size=(10, 10))[:,3]  # discontiguous data
            self.assertFalse(data.flags['C_CONTIGUOUS'])
            p = {u"uuid": str(uuid.uuid4())}
            # write properties
            h.write_properties(p, now)
            # write data
            h.write_data(data, now)
            d = h.read_data()
            self.assertEqual(d.shape, data.shape)
            self.assertEqual(d.dtype, data.dtype)
    finally:
        #logging.debug("rmtree %s", data_dir)
        shutil.rmtree(data_dir)